From 48ec44d9e6716303df619115b6530a4b2e3b2f58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sonsoles=20L=C3=B3pez=20Pernas?= Date: Fri, 23 Dec 2022 20:08:03 +0100 Subject: [PATCH] Update docs --- docs/asset-manifest.json | 22 +++++++++---------- docs/index.html | 2 +- ...nifest.0912c79aab9ae44314487d3448b7e87e.js | 22 ------------------- ...nifest.0dcce7831e8aa8b63765d9ace1eb8f8a.js | 22 ------------------- ...nifest.366c20c04eb358ebd8f829c645c521d4.js | 22 ------------------- ...nifest.6762c4bff7a74475bb74f0e6f2d6cec2.js | 22 ------------------- ...nifest.91244781be67ca518b14c57c9d7544d2.js | 22 ------------------- ...nifest.c50c1295930e4ce0d473b99e67da01ce.js | 22 +++++++++++++++++++ docs/service-worker.js | 4 ++-- docs/static/css/main.2859e2dd.chunk.css | 2 ++ docs/static/css/main.2859e2dd.chunk.css.map | 1 + docs/static/js/1.f5ae269d.chunk.js | 2 ++ docs/static/js/1.f5ae269d.chunk.js.map | 1 + docs/static/js/main.bdfb64c2.chunk.js | 2 ++ docs/static/js/main.bdfb64c2.chunk.js.map | 1 + docs/static/js/runtime~main.a9a59ff2.js | 2 ++ docs/static/js/runtime~main.a9a59ff2.js.map | 1 + 17 files changed, 48 insertions(+), 124 deletions(-) delete mode 100644 docs/precache-manifest.0912c79aab9ae44314487d3448b7e87e.js delete mode 100644 docs/precache-manifest.0dcce7831e8aa8b63765d9ace1eb8f8a.js delete mode 100644 docs/precache-manifest.366c20c04eb358ebd8f829c645c521d4.js delete mode 100644 docs/precache-manifest.6762c4bff7a74475bb74f0e6f2d6cec2.js delete mode 100644 docs/precache-manifest.91244781be67ca518b14c57c9d7544d2.js create mode 100644 docs/precache-manifest.c50c1295930e4ce0d473b99e67da01ce.js create mode 100644 docs/static/css/main.2859e2dd.chunk.css create mode 100644 docs/static/css/main.2859e2dd.chunk.css.map create mode 100644 docs/static/js/1.f5ae269d.chunk.js create mode 100644 docs/static/js/1.f5ae269d.chunk.js.map create mode 100644 docs/static/js/main.bdfb64c2.chunk.js create mode 100644 docs/static/js/main.bdfb64c2.chunk.js.map create mode 100644 docs/static/js/runtime~main.a9a59ff2.js create mode 100644 docs/static/js/runtime~main.a9a59ff2.js.map diff --git a/docs/asset-manifest.json b/docs/asset-manifest.json index 8da6f0e..4092f69 100644 --- a/docs/asset-manifest.json +++ b/docs/asset-manifest.json @@ -1,13 +1,13 @@ { - "main.css": "./static/css/main.49a0b4a2.chunk.css", - "main.js": "./static/js/main.8e00b329.chunk.js", - "main.js.map": "./static/js/main.8e00b329.chunk.js.map", - "static/js/1.cf2ed0d8.chunk.js": "./static/js/1.cf2ed0d8.chunk.js", - "static/js/1.cf2ed0d8.chunk.js.map": "./static/js/1.cf2ed0d8.chunk.js.map", - "runtime~main.js": "./static/js/runtime~main.4a686d48.js", - "runtime~main.js.map": "./static/js/runtime~main.4a686d48.js.map", - "static/css/main.49a0b4a2.chunk.css.map": "./static/css/main.49a0b4a2.chunk.css.map", - "index.html": "./index.html", - "precache-manifest.6762c4bff7a74475bb74f0e6f2d6cec2.js": "./precache-manifest.6762c4bff7a74475bb74f0e6f2d6cec2.js", - "service-worker.js": "./service-worker.js" + "main.css": "/quiz-converter/static/css/main.2859e2dd.chunk.css", + "main.js": "/quiz-converter/static/js/main.bdfb64c2.chunk.js", + "main.js.map": "/quiz-converter/static/js/main.bdfb64c2.chunk.js.map", + "static/js/1.f5ae269d.chunk.js": "/quiz-converter/static/js/1.f5ae269d.chunk.js", + "static/js/1.f5ae269d.chunk.js.map": "/quiz-converter/static/js/1.f5ae269d.chunk.js.map", + "runtime~main.js": "/quiz-converter/static/js/runtime~main.a9a59ff2.js", + "runtime~main.js.map": "/quiz-converter/static/js/runtime~main.a9a59ff2.js.map", + "static/css/main.2859e2dd.chunk.css.map": "/quiz-converter/static/css/main.2859e2dd.chunk.css.map", + "index.html": "/quiz-converter/index.html", + "precache-manifest.c50c1295930e4ce0d473b99e67da01ce.js": "/quiz-converter/precache-manifest.c50c1295930e4ce0d473b99e67da01ce.js", + "service-worker.js": "/quiz-converter/service-worker.js" } \ No newline at end of file diff --git a/docs/index.html b/docs/index.html index 35ac98b..f8de5cd 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1 +1 @@ -QUIZ converter
\ No newline at end of file +QUIZ converter
\ No newline at end of file diff --git a/docs/precache-manifest.0912c79aab9ae44314487d3448b7e87e.js b/docs/precache-manifest.0912c79aab9ae44314487d3448b7e87e.js deleted file mode 100644 index 8bbaf37..0000000 --- a/docs/precache-manifest.0912c79aab9ae44314487d3448b7e87e.js +++ /dev/null @@ -1,22 +0,0 @@ -self.__precacheManifest = [ - { - "revision": "735110d3193889b7a330", - "url": "./static/css/main.49a0b4a2.chunk.css" - }, - { - "revision": "735110d3193889b7a330", - "url": "./static/js/main.735110d3.chunk.js" - }, - { - "revision": "cf2ed0d890168321b052", - "url": "./static/js/1.cf2ed0d8.chunk.js" - }, - { - "revision": "4a686d48d5a089750c49", - "url": "./static/js/runtime~main.4a686d48.js" - }, - { - "revision": "efcebaf959806ec8fa15d7fb16b33b41", - "url": "./index.html" - } -]; \ No newline at end of file diff --git a/docs/precache-manifest.0dcce7831e8aa8b63765d9ace1eb8f8a.js b/docs/precache-manifest.0dcce7831e8aa8b63765d9ace1eb8f8a.js deleted file mode 100644 index 003c395..0000000 --- a/docs/precache-manifest.0dcce7831e8aa8b63765d9ace1eb8f8a.js +++ /dev/null @@ -1,22 +0,0 @@ -self.__precacheManifest = [ - { - "revision": "804bb2b979068707a2c1", - "url": "./static/css/main.fea482f8.chunk.css" - }, - { - "revision": "804bb2b979068707a2c1", - "url": "./static/js/main.804bb2b9.chunk.js" - }, - { - "revision": "9e7f368cd70f7a85e035", - "url": "./static/js/1.9e7f368c.chunk.js" - }, - { - "revision": "4a686d48d5a089750c49", - "url": "./static/js/runtime~main.4a686d48.js" - }, - { - "revision": "a1d9e4e335d6df1ea1de47d9ec5982ce", - "url": "./index.html" - } -]; \ No newline at end of file diff --git a/docs/precache-manifest.366c20c04eb358ebd8f829c645c521d4.js b/docs/precache-manifest.366c20c04eb358ebd8f829c645c521d4.js deleted file mode 100644 index 9bba26d..0000000 --- a/docs/precache-manifest.366c20c04eb358ebd8f829c645c521d4.js +++ /dev/null @@ -1,22 +0,0 @@ -self.__precacheManifest = [ - { - "revision": "c496018ca578fdf51d1e", - "url": "./static/css/main.49a0b4a2.chunk.css" - }, - { - "revision": "c496018ca578fdf51d1e", - "url": "./static/js/main.c496018c.chunk.js" - }, - { - "revision": "cf2ed0d890168321b052", - "url": "./static/js/1.cf2ed0d8.chunk.js" - }, - { - "revision": "4a686d48d5a089750c49", - "url": "./static/js/runtime~main.4a686d48.js" - }, - { - "revision": "6c9c2b126f8e33df39b1801c9649621e", - "url": "./index.html" - } -]; \ No newline at end of file diff --git a/docs/precache-manifest.6762c4bff7a74475bb74f0e6f2d6cec2.js b/docs/precache-manifest.6762c4bff7a74475bb74f0e6f2d6cec2.js deleted file mode 100644 index 4278212..0000000 --- a/docs/precache-manifest.6762c4bff7a74475bb74f0e6f2d6cec2.js +++ /dev/null @@ -1,22 +0,0 @@ -self.__precacheManifest = [ - { - "revision": "8e00b329cacf9575dc03", - "url": "./static/css/main.49a0b4a2.chunk.css" - }, - { - "revision": "8e00b329cacf9575dc03", - "url": "./static/js/main.8e00b329.chunk.js" - }, - { - "revision": "cf2ed0d890168321b052", - "url": "./static/js/1.cf2ed0d8.chunk.js" - }, - { - "revision": "4a686d48d5a089750c49", - "url": "./static/js/runtime~main.4a686d48.js" - }, - { - "revision": "16c1763f8dcac4e43d5543cbc9ae5e25", - "url": "./index.html" - } -]; \ No newline at end of file diff --git a/docs/precache-manifest.91244781be67ca518b14c57c9d7544d2.js b/docs/precache-manifest.91244781be67ca518b14c57c9d7544d2.js deleted file mode 100644 index 33adad5..0000000 --- a/docs/precache-manifest.91244781be67ca518b14c57c9d7544d2.js +++ /dev/null @@ -1,22 +0,0 @@ -self.__precacheManifest = [ - { - "revision": "c0d838e6b345683e0be2", - "url": "./static/css/main.abd75380.chunk.css" - }, - { - "revision": "c0d838e6b345683e0be2", - "url": "./static/js/main.c0d838e6.chunk.js" - }, - { - "revision": "14c2ec825572e9d5ef2d", - "url": "./static/js/1.14c2ec82.chunk.js" - }, - { - "revision": "4a686d48d5a089750c49", - "url": "./static/js/runtime~main.4a686d48.js" - }, - { - "revision": "f61314ec40485da6123e6ae04d054552", - "url": "./index.html" - } -]; \ No newline at end of file diff --git a/docs/precache-manifest.c50c1295930e4ce0d473b99e67da01ce.js b/docs/precache-manifest.c50c1295930e4ce0d473b99e67da01ce.js new file mode 100644 index 0000000..c430055 --- /dev/null +++ b/docs/precache-manifest.c50c1295930e4ce0d473b99e67da01ce.js @@ -0,0 +1,22 @@ +self.__precacheManifest = [ + { + "revision": "bdfb64c2406636b0d90c", + "url": "/quiz-converter/static/css/main.2859e2dd.chunk.css" + }, + { + "revision": "bdfb64c2406636b0d90c", + "url": "/quiz-converter/static/js/main.bdfb64c2.chunk.js" + }, + { + "revision": "f5ae269df9790bef24ae", + "url": "/quiz-converter/static/js/1.f5ae269d.chunk.js" + }, + { + "revision": "a9a59ff2e03cc2d42dc9", + "url": "/quiz-converter/static/js/runtime~main.a9a59ff2.js" + }, + { + "revision": "3a4a7dd33a40827d5f84c5f2e5a5bfb3", + "url": "/quiz-converter/index.html" + } +]; \ No newline at end of file diff --git a/docs/service-worker.js b/docs/service-worker.js index 9091f12..e22f3a1 100644 --- a/docs/service-worker.js +++ b/docs/service-worker.js @@ -14,7 +14,7 @@ importScripts("https://storage.googleapis.com/workbox-cdn/releases/3.6.3/workbox-sw.js"); importScripts( - "./precache-manifest.6762c4bff7a74475bb74f0e6f2d6cec2.js" + "/quiz-converter/precache-manifest.c50c1295930e4ce0d473b99e67da01ce.js" ); workbox.clientsClaim(); @@ -28,7 +28,7 @@ self.__precacheManifest = [].concat(self.__precacheManifest || []); workbox.precaching.suppressWarnings(); workbox.precaching.precacheAndRoute(self.__precacheManifest, {}); -workbox.routing.registerNavigationRoute("./index.html", { +workbox.routing.registerNavigationRoute("/quiz-converter/index.html", { blacklist: [/^\/_/,/\/[^/]+\.[^/]+$/], }); diff --git a/docs/static/css/main.2859e2dd.chunk.css b/docs/static/css/main.2859e2dd.chunk.css new file mode 100644 index 0000000..6952ed7 --- /dev/null +++ b/docs/static/css/main.2859e2dd.chunk.css @@ -0,0 +1,2 @@ +#root,body,html{height:100%}body{margin:0;padding:0;font-family:Roboto,-apple-system,BlinkMacSystemFont,Segoe UI,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}code,textarea{font-family:Roboto Mono,Menlo,Monaco,Consolas,Courier New,monospace;font-size:14px}.App{flex-direction:column;height:100%}.App,header{display:flex}header{background-color:#333;color:#fff;height:60px;padding-left:35px;flex-direction:row;justify-content:space-between;align-items:center}.links a{color:#fff;text-decoration:none;margin-right:10px}h1{font-size:30px;padding:0;height:60px;line-height:60px;margin:0}h1,h1 i{vertical-align:middle}h1 i{font-size:50px;color:#20beb8;font-size:36px!important}h2{display:inline-block;margin-right:10px}select{font-size:18px;vertical-align:initial;padding:3px;outline:none}.content{display:flex;flex-direction:row;flex:1 1}.content-col{width:50%;padding:0 35px;display:flex;flex-direction:column}.left{border-right:2px solid #ddd}textarea{resize:none;flex:1 1;background-color:#fafafa;border-radius:0;outline:none!important;padding:10px}.buttons{height:60px}.buttons button{margin-top:10px;padding:3px 20px;font-size:20px;margin-right:10px;background-color:#20beb8;border:2px solid #20beb8;color:#fff;cursor:pointer;height:42px;font-family:Roboto;outline:none}.buttons button:hover i{transform:scale(1.5)}.buttons button i{vertical-align:middle;font-size:20px;margin-right:10px;transition:all .3s ease-in}.lc{padding-left:10px;font-size:11px}@media (max-width:700px){.content{flex-direction:column}.content-col{width:calc(100% - 70px);flex:1 1}.left{border-bottom:2px solid #ddd;border-right:none}} +/*# sourceMappingURL=main.2859e2dd.chunk.css.map */ \ No newline at end of file diff --git a/docs/static/css/main.2859e2dd.chunk.css.map b/docs/static/css/main.2859e2dd.chunk.css.map new file mode 100644 index 0000000..434b711 --- /dev/null +++ b/docs/static/css/main.2859e2dd.chunk.css.map @@ -0,0 +1 @@ +{"version":3,"sources":["/Users/slopezpe/Work/quiz-converter/src/index.css","main.2859e2dd.chunk.css","/Users/slopezpe/Work/quiz-converter/src/App.css"],"names":[],"mappings":"AAIA,gBAHE,WCaF,CDVA,KACE,QAAA,CACA,SAAA,CACA,mICEY,CDCZ,kCAAA,CACA,iCCGF,CDEA,cACE,mECCW,CDCX,cCCF,CCpBA,KAEE,qBAAA,CACA,WDwBF,CCrBA,YALE,YDqCF,CChCA,OACE,qBAAA,CACA,UAAA,CACA,WAAA,CACA,iBAAA,CAEA,kBAAA,CACA,6BAAA,CACA,kBDwBF,CCtBA,SACE,UAAA,CACA,oBAAA,CACA,iBDwBF,CCtBA,GACE,cAAA,CACA,SAAA,CACA,WAAA,CACA,gBAAA,CAEA,QDwBF,CCrBA,QAJE,qBDgCF,CC5BA,KACE,cAAA,CACA,aAAA,CAEA,wBDwBF,CCrBA,GACE,oBAAA,CACA,iBDwBF,CCrBA,OACE,cAAA,CACA,sBAAA,CACA,WAAA,CACA,YDwBF,CCtBA,SACE,YAAA,CACA,kBAAA,CACA,QDwBF,CCrBA,aACE,SAAA,CAIA,cAAA,CACA,YAAA,CACA,qBDwBF,CCrBA,MAEE,2BDwBF,CCjBA,SACE,WAAA,CACA,QAAA,CACA,wBAAA,CAEA,eAAA,CACA,sBAAA,CACA,YDwBF,CCtBA,SACE,WDwBF,CCrBA,gBACE,eAAA,CACA,gBAAA,CACA,cAAA,CACA,iBAAA,CACA,wBAAA,CACA,wBAAA,CACA,UAAA,CAEA,cAAA,CACA,WAAA,CACA,kBAAA,CACA,YDyBF,CCtBA,wBACE,oBDwBF,CCtBA,kBACE,qBAAA,CACA,cAAA,CACA,iBAAA,CACA,0BDyBF,CCrBA,IACE,iBAAA,CACA,cDwBF,CCrBA,yBACE,SACA,qBDyBA,CCtBA,aACE,uBAAA,CACA,QDwBF,CCtBA,MACE,4BAAA,CACA,iBDyBF,CAEF","file":"main.2859e2dd.chunk.css","sourcesContent":["html, #root {\n height: 100%;\n}\n\nbody {\n margin: 0;\n padding: 0;\n font-family: 'Roboto',-apple-system, BlinkMacSystemFont, \"Segoe UI\", \"Roboto\", \"Oxygen\",\n \"Ubuntu\", \"Cantarell\", \"Fira Sans\", \"Droid Sans\", \"Helvetica Neue\",\n sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n height: 100%;\n\n}\n\ncode, textarea {\n font-family: 'Roboto Mono', Menlo, Monaco, Consolas, \"Courier New\",\n monospace;\n font-size: 14px;\n}\n\n","html, #root {\n height: 100%;\n}\n\nbody {\n margin: 0;\n padding: 0;\n font-family: 'Roboto',-apple-system, BlinkMacSystemFont, \"Segoe UI\", \"Roboto\", \"Oxygen\",\n \"Ubuntu\", \"Cantarell\", \"Fira Sans\", \"Droid Sans\", \"Helvetica Neue\",\n sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n height: 100%;\n\n}\n\ncode, textarea {\n font-family: 'Roboto Mono', Menlo, Monaco, Consolas, \"Courier New\",\n monospace;\n font-size: 14px;\n}\n\n\n.App {\n display: flex;\n flex-direction: column;\n height: 100%;\n}\n\nheader {\n background-color: #333;\n color: white;\n height: 60px;\n padding-left: 35px;\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n}\n.links a {\n color: white;\n text-decoration: none;\n margin-right: 10px;\n}\nh1 {\n font-size: 30px;\n padding:0;\n height: 60px;\n line-height: 60px;\n vertical-align: middle;\n margin: 0;\n}\n\nh1 i {\n font-size: 50px;\n color: #20BEB8;\n vertical-align: middle;\n font-size: 36px !important;\n}\n\nh2 {\n display: inline-block;\n margin-right: 10px\n}\n\nselect {\n font-size: 18px;\n vertical-align: baseline;\n padding: 3px;\n outline: none;\n}\n.content {\n display: flex;\n flex-direction: row;\n flex: 1 1;\n}\n\n.content-col {\n width: 50%;\n padding-left: 35px;\n padding-right: 35px;\n padding-top: 0px;\n padding-bottom: 0px;\n display: flex;\n flex-direction: column;\n}\n\n.left {\n /*background-color: blue;*/\n border-right: 2px solid #ddd;\n}\n\n.right {\n /*background-color: green;*/\n}\n\ntextarea {\n resize: none;\n flex:1 1;\n background-color: #fafafa;\n /*border:none;*/\n border-radius: 0px;\n outline: none !important;\n padding: 10px;\n}\n.buttons {\n height: 60px;\n}\n\n.buttons button {\n margin-top: 10px;\n padding: 3px 20px 3px 20px;\n font-size: 20px;\n margin-right: 10px;\n background-color: #20BEB8;\n border: 2px solid #20BEB8;\n color: white;\n /*font-weight: bold;*/\n cursor: pointer;\n height: 42px;\n font-family: 'Roboto';\n outline: none;\n\n}\n.buttons button:hover i {\n transform: scale(1.5);\n}\n.buttons button i {\n vertical-align: middle;\n font-size: 20px;\n margin-right: 10px;\n transition: 0.3s ease-in all;\n\n}\n\n.lc {\n padding-left: 10px;\n font-size: 11px;\n}\n\n@media (max-width: 700px) {\n .content {\n flex-direction: column;\n\n }\n .content-col {\n width: calc(100% - 70px);\n flex:1 1;\n }\n .left {\n border-bottom: 2px solid #ddd;\n border-right: none;\n\n }\n\n}\n\n\n",".App {\n display: flex;\n flex-direction: column;\n height: 100%;\n}\n\nheader {\n background-color: #333;\n color: white;\n height: 60px;\n padding-left: 35px;\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n}\n.links a {\n color: white;\n text-decoration: none;\n margin-right: 10px;\n}\nh1 {\n font-size: 30px;\n padding:0;\n height: 60px;\n line-height: 60px;\n vertical-align: middle;\n margin: 0;\n}\n\nh1 i {\n font-size: 50px;\n color: #20BEB8;\n vertical-align: middle;\n font-size: 36px !important;\n}\n\nh2 {\n display: inline-block;\n margin-right: 10px\n}\n\nselect {\n font-size: 18px;\n vertical-align: baseline;\n padding: 3px;\n outline: none;\n}\n.content {\n display: flex;\n flex-direction: row;\n flex: 1;\n}\n\n.content-col {\n width: 50%;\n padding-left: 35px;\n padding-right: 35px;\n padding-top: 0px;\n padding-bottom: 0px;\n display: flex;\n flex-direction: column;\n}\n\n.left {\n /*background-color: blue;*/\n border-right: 2px solid #ddd;\n}\n\n.right {\n /*background-color: green;*/\n}\n\ntextarea {\n resize: none;\n flex:1;\n background-color: #fafafa;\n /*border:none;*/\n border-radius: 0px;\n outline: none !important;\n padding: 10px;\n}\n.buttons {\n height: 60px;\n}\n\n.buttons button {\n margin-top: 10px;\n padding: 3px 20px 3px 20px;\n font-size: 20px;\n margin-right: 10px;\n background-color: #20BEB8;\n border: 2px solid #20BEB8;\n color: white;\n /*font-weight: bold;*/\n cursor: pointer;\n height: 42px;\n font-family: 'Roboto';\n outline: none;\n\n}\n.buttons button:hover i {\n transform: scale(1.5);\n}\n.buttons button i {\n vertical-align: middle;\n font-size: 20px;\n margin-right: 10px;\n transition: 0.3s ease-in all;\n\n}\n\n.lc {\n padding-left: 10px;\n font-size: 11px;\n}\n\n@media (max-width: 700px) {\n .content {\n flex-direction: column;\n\n }\n .content-col {\n width: calc(100% - 70px);\n flex:1;\n }\n .left {\n border-bottom: 2px solid #ddd;\n border-right: none;\n\n }\n\n}\n\n"]} \ No newline at end of file diff --git a/docs/static/js/1.f5ae269d.chunk.js b/docs/static/js/1.f5ae269d.chunk.js new file mode 100644 index 0000000..2b93dbb --- /dev/null +++ b/docs/static/js/1.f5ae269d.chunk.js @@ -0,0 +1,2 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[1],[function(e,t,n){"use strict";e.exports=n(57)},function(e,t){(function(){e.exports={Element:1,Attribute:2,Text:3,CData:4,EntityReference:5,EntityDeclaration:6,ProcessingInstruction:7,Comment:8,Document:9,DocType:10,DocumentFragment:11,NotationDeclaration:12,Declaration:201,Raw:202,AttributeDeclaration:203,ElementDeclaration:204,Dummy:205}}).call(this)},function(e,t,n){(function(){var t,r,i,o,a,s,u,l,c,f,p,h,d,m,y,g,v,b={}.hasOwnProperty;v=n(3),g=v.isObject,y=v.isFunction,m=v.isEmpty,d=v.getValue,l=null,i=null,o=null,a=null,s=null,p=null,h=null,f=null,u=null,r=null,c=null,t=null,e.exports=function(){function e(e){this.parent=e,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.value=null,this.children=[],this.baseURI=null,l||(l=n(15),i=n(17),o=n(18),a=n(19),s=n(20),p=n(25),h=n(26),f=n(27),u=n(39),r=n(1),c=n(71),n(16),t=n(72))}return Object.defineProperty(e.prototype,"nodeName",{get:function(){return this.name}}),Object.defineProperty(e.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(e.prototype,"nodeValue",{get:function(){return this.value}}),Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent}}),Object.defineProperty(e.prototype,"childNodes",{get:function(){return this.childNodeList&&this.childNodeList.nodes||(this.childNodeList=new c(this.children)),this.childNodeList}}),Object.defineProperty(e.prototype,"firstChild",{get:function(){return this.children[0]||null}}),Object.defineProperty(e.prototype,"lastChild",{get:function(){return this.children[this.children.length-1]||null}}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){var e;return e=this.parent.children.indexOf(this),this.parent.children[e-1]||null}}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){var e;return e=this.parent.children.indexOf(this),this.parent.children[e+1]||null}}),Object.defineProperty(e.prototype,"ownerDocument",{get:function(){return this.document()||null}}),Object.defineProperty(e.prototype,"textContent",{get:function(){var e,t,n,i,o;if(this.nodeType===r.Element||this.nodeType===r.DocumentFragment){for(o="",t=0,n=(i=this.children).length;t":(null!=(n=this.parent)?n.name:void 0)?"node: <"+e+">, parent: <"+this.parent.name+">":"node: <"+e+">":""},e.prototype.ele=function(e,t,n){return this.element(e,t,n)},e.prototype.nod=function(e,t,n){return this.node(e,t,n)},e.prototype.txt=function(e){return this.text(e)},e.prototype.dat=function(e){return this.cdata(e)},e.prototype.com=function(e){return this.comment(e)},e.prototype.ins=function(e,t){return this.instruction(e,t)},e.prototype.doc=function(){return this.document()},e.prototype.dec=function(e,t,n){return this.declaration(e,t,n)},e.prototype.e=function(e,t,n){return this.element(e,t,n)},e.prototype.n=function(e,t,n){return this.node(e,t,n)},e.prototype.t=function(e){return this.text(e)},e.prototype.d=function(e){return this.cdata(e)},e.prototype.c=function(e){return this.comment(e)},e.prototype.r=function(e){return this.raw(e)},e.prototype.i=function(e,t){return this.instruction(e,t)},e.prototype.u=function(){return this.up()},e.prototype.importXMLBuilder=function(e){return this.importDocument(e)},e.prototype.replaceChild=function(e,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.removeChild=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.appendChild=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.hasChildNodes=function(){return 0!==this.children.length},e.prototype.cloneNode=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.normalize=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.isSupported=function(e,t){return!0},e.prototype.hasAttributes=function(){return 0!==this.attribs.length},e.prototype.compareDocumentPosition=function(e){var n;return this,this===e?0:this.document()!==e.document()?(n=t.Disconnected|t.ImplementationSpecific,Math.random()<.5?n|=t.Preceding:n|=t.Following,n):this.isAncestor(e)?t.Contains|t.Preceding:this.isDescendant(e)?t.Contains|t.Following:this.isPreceding(e)?t.Preceding:t.Following},e.prototype.isSameNode=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.lookupPrefix=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.isDefaultNamespace=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.lookupNamespaceURI=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.isEqualNode=function(e){var t,n,r;if(e.nodeType!==this.nodeType)return!1;if(e.children.length!==this.children.length)return!1;for(t=n=0,r=this.children.length-1;0<=r?n<=r:n>=r;t=0<=r?++n:--n)if(!this.children[t].isEqualNode(e.children[t]))return!1;return!0},e.prototype.getFeature=function(e,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.setUserData=function(e,t,n){throw new Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.getUserData=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.contains=function(e){return!!e&&(e===this||this.isDescendant(e))},e.prototype.isDescendant=function(e){var t,n,r,i;for(n=0,r=(i=this.children).length;nn},e.prototype.treePosition=function(e){var t,n;return n=0,t=!1,this.foreachTreeNode(this.document(),function(r){if(n++,!t&&r===e)return t=!0}),t?n:-1},e.prototype.foreachTreeNode=function(e,t){var n,r,i,o,a;for(e||(e=this.document()),r=0,i=(o=e.children).length;r0&&a.length>i&&!a.warned){a.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=a.length,s=u,console&&console.warn&&console.warn(s)}return e}function p(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=function(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}.bind(r);return i.listener=n,r.wrapFn=i,i}function h(e,t,n){var r=e._events;if(void 0===r)return[];var i=r[t];return void 0===i?[]:"function"===typeof i?n?[i.listener||i]:[i]:n?function(e){for(var t=new Array(e.length),n=0;n0&&(a=t[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var u=i[e];if(void 0===u)return!1;if("function"===typeof u)o(u,this,t);else{var l=u.length,c=m(u,l);for(n=0;n=0;o--)if(n[o]===t||n[o].listener===t){a=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():function(e,t){for(;t+1=0;r--)this.removeListener(e,t[r]);return this},s.prototype.listeners=function(e){return h(this,e,!0)},s.prototype.rawListeners=function(e){return h(this,e,!1)},s.listenerCount=function(e,t){return"function"===typeof e.listenerCount?e.listenerCount(t):d.call(e,t)},s.prototype.listenerCount=d,s.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"===typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"===typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var u,l=[],c=!1,f=-1;function p(){c&&u&&(c=!1,u.length?l=u.concat(l):f=-1,l.length&&h())}function h(){if(!c){var e=s(p);c=!0;for(var t=l.length;t;){for(u=l,l=[];++f1)for(var n=1;n=i;t=0<=i?++r:--r)if(!this.attribs[t].isEqualNode(e.attribs[t]))return!1;return!0},n}()}).call(this)},function(e,t){(function(){e.exports=function(){function e(e){this.nodes=e}return Object.defineProperty(e.prototype,"length",{get:function(){return Object.keys(this.nodes).length||0}}),e.prototype.clone=function(){return this.nodes=null},e.prototype.getNamedItem=function(e){return this.nodes[e]},e.prototype.setNamedItem=function(e){var t;return t=this.nodes[e.nodeName],this.nodes[e.nodeName]=e,t||null},e.prototype.removeNamedItem=function(e){var t;return t=this.nodes[e],delete this.nodes[e],t||null},e.prototype.item=function(e){return this.nodes[Object.keys(this.nodes)[e]]||null},e.prototype.getNamedItemNS=function(e,t){throw new Error("This DOM method is not implemented.")},e.prototype.setNamedItemNS=function(e){throw new Error("This DOM method is not implemented.")},e.prototype.removeNamedItemNS=function(e,t){throw new Error("This DOM method is not implemented.")},e}()}).call(this)},function(e,t,n){(function(){var t,r,i={}.hasOwnProperty;t=n(1),r=n(8),e.exports=function(e){function n(e,r){if(n.__super__.constructor.call(this,e),null==r)throw new Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=t.CData,this.value=this.stringify.cdata(r)}return function(e,t){for(var n in t)i.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype}(n,r),n.prototype.clone=function(){return Object.create(this)},n.prototype.toString=function(e){return this.options.writer.cdata(this,this.options.writer.filterOptions(e))},n}()}).call(this)},function(e,t,n){(function(){var t,r,i={}.hasOwnProperty;t=n(1),r=n(8),e.exports=function(e){function n(e,r){if(n.__super__.constructor.call(this,e),null==r)throw new Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=t.Comment,this.value=this.stringify.comment(r)}return function(e,t){for(var n in t)i.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype}(n,r),n.prototype.clone=function(){return Object.create(this)},n.prototype.toString=function(e){return this.options.writer.comment(this,this.options.writer.filterOptions(e))},n}()}).call(this)},function(e,t,n){(function(){var t,r,i,o={}.hasOwnProperty;i=n(3).isObject,r=n(2),t=n(1),e.exports=function(e){function n(e,r,o,a){var s;n.__super__.constructor.call(this,e),i(r)&&(r=(s=r).version,o=s.encoding,a=s.standalone),r||(r="1.0"),this.type=t.Declaration,this.version=this.stringify.xmlVersion(r),null!=o&&(this.encoding=this.stringify.xmlEncoding(o)),null!=a&&(this.standalone=this.stringify.xmlStandalone(a))}return function(e,t){for(var n in t)o.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype}(n,r),n.prototype.toString=function(e){return this.options.writer.declaration(this,this.options.writer.filterOptions(e))},n}()}).call(this)},function(e,t,n){(function(){var t,r,i,o,a,s,u,l,c={}.hasOwnProperty;l=n(3).isObject,u=n(2),t=n(1),r=n(21),o=n(22),i=n(23),a=n(24),s=n(16),e.exports=function(e){function n(e,r,i){var o,a,s,u,c,f;if(n.__super__.constructor.call(this,e),this.type=t.DocType,e.children)for(a=0,s=(u=e.children).length;a=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|e}function d(e,t){if(u.isBuffer(e))return e.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!==typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return B(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return z(e).length;default:if(r)return B(e).length;t=(""+t).toLowerCase(),r=!0}}function m(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function y(e,t,n,r,i){if(0===e.length)return-1;if("string"===typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"===typeof t&&(t=u.from(t,r)),u.isBuffer(t))return 0===t.length?-1:g(e,t,n,r,i);if("number"===typeof t)return t&=255,u.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):g(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function g(e,t,n,r,i){var o,a=1,s=e.length,u=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,u/=2,n/=2}function l(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var c=-1;for(o=n;os&&(n=s-u),o=n;o>=0;o--){for(var f=!0,p=0;pi&&(r=i):r=i;var o=t.length;if(o%2!==0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function x(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function S(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i239?4:l>223?3:l>191?2:1;if(i+f<=n)switch(f){case 1:l<128&&(c=l);break;case 2:128===(192&(o=e[i+1]))&&(u=(31&l)<<6|63&o)>127&&(c=u);break;case 3:o=e[i+1],a=e[i+2],128===(192&o)&&128===(192&a)&&(u=(15&l)<<12|(63&o)<<6|63&a)>2047&&(u<55296||u>57343)&&(c=u);break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],128===(192&o)&&128===(192&a)&&128===(192&s)&&(u=(15&l)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&u<1114112&&(c=u)}null===c?(c=65533,f=1):c>65535&&(c-=65536,r.push(c>>>10&1023|55296),c=56320|1023&c),r.push(c),i+=f}return function(e){var t=e.length;if(t<=k)return String.fromCharCode.apply(String,e);var n="",r=0;for(;rthis.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return N(this,t,n);case"utf8":case"utf-8":return S(this,t,n);case"ascii":return C(this,t,n);case"latin1":case"binary":return O(this,t,n);case"base64":return x(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}.apply(this,arguments)},u.prototype.equals=function(e){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===u.compare(this,e)},u.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),""},u.prototype.compare=function(e,t,n,r,i){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),s=Math.min(o,a),l=this.slice(r,i),c=e.slice(t,n),f=0;fi)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return v(this,e,t,n);case"utf8":case"utf-8":return b(this,e,t,n);case"ascii":return w(this,e,t,n);case"latin1":case"binary":return T(this,e,t,n);case"base64":return E(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return _(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var k=4096;function C(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;ir)&&(n=r);for(var i="",o=t;on)throw new RangeError("Trying to access beyond buffer length")}function I(e,t,n,r,i,o){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError("Index out of range")}function A(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);i>>8*(r?i:1-i)}function R(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);i>>8*(r?i:3-i)&255}function L(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function M(e,t,n,r,o){return o||L(e,0,n,4),i.write(e,t,n,r,23,4),n+4}function F(e,t,n,r,o){return o||L(e,0,n,8),i.write(e,t,n,r,52,8),n+8}u.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t0&&(i*=256);)r+=this[e+--t]*i;return r},u.prototype.readUInt8=function(e,t){return t||D(e,1,this.length),this[e]},u.prototype.readUInt16LE=function(e,t){return t||D(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUInt16BE=function(e,t){return t||D(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUInt32LE=function(e,t){return t||D(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUInt32BE=function(e,t){return t||D(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||D(e,t,this.length);for(var r=this[e],i=1,o=0;++o=(i*=128)&&(r-=Math.pow(2,8*t)),r},u.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||D(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},u.prototype.readInt8=function(e,t){return t||D(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){t||D(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt16BE=function(e,t){t||D(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt32LE=function(e,t){return t||D(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return t||D(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readFloatLE=function(e,t){return t||D(e,4,this.length),i.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return t||D(e,4,this.length),i.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return t||D(e,8,this.length),i.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return t||D(e,8,this.length),i.read(this,e,!1,52,8)},u.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||I(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[t]=255&e;++o=0&&(o*=256);)this[t+i]=e/o&255;return t+n},u.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||I(this,e,t,1,255,0),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},u.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||I(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):A(this,e,t,!0),t+2},u.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||I(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):A(this,e,t,!1),t+2},u.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||I(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):R(this,e,t,!0),t+4},u.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||I(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):R(this,e,t,!1),t+4},u.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);I(this,e,t,n,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o>0)-s&255;return t+n},u.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);I(this,e,t,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},u.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||I(this,e,t,1,127,-128),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||I(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):A(this,e,t,!0),t+2},u.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||I(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):A(this,e,t,!1),t+2},u.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||I(this,e,t,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):R(this,e,t,!0),t+4},u.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||I(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):R(this,e,t,!1),t+4},u.prototype.writeFloatLE=function(e,t,n){return M(this,e,t,!0,n)},u.prototype.writeFloatBE=function(e,t,n){return M(this,e,t,!1,n)},u.prototype.writeDoubleLE=function(e,t,n){return F(this,e,t,!0,n)},u.prototype.writeDoubleBE=function(e,t,n){return F(this,e,t,!1,n)},u.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t=0;--i)e[i+t]=this[i+n];else if(o<1e3||!u.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"===typeof e)for(o=t;o55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function z(e){return r.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(j,"")).length<2)return"";for(;e.length%4!==0;)e+="=";return e}(e))}function V(e,t,n,r){for(var i=0;i=t.length||i>=e.length);++i)t[i+n]=e[i];return i}}).call(this,n(5))},function(e,t,n){(t=e.exports=n(43)).Stream=t,t.Readable=t,t.Writable=n(31),t.Duplex=n(4),t.Transform=n(47),t.PassThrough=n(85)},function(e,t,n){"use strict";(function(t,r,i){var o=n(12);function a(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,n){var r=e.entry;e.entry=null;for(;r;){var i=r.callback;t.pendingcb--,i(n),r=r.next}t.corkedRequestsFree?t.corkedRequestsFree.next=e:t.corkedRequestsFree=e}(t,e)}}e.exports=v;var s,u=!t.browser&&["v0.10","v0.9."].indexOf(t.version.slice(0,5))>-1?r:o.nextTick;v.WritableState=g;var l=Object.create(n(7));l.inherits=n(6);var c={deprecate:n(84)},f=n(44),p=n(13).Buffer,h=i.Uint8Array||function(){};var d,m=n(45);function y(){}function g(e,t){s=s||n(4),e=e||{};var r=t instanceof s;this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var i=e.highWaterMark,l=e.writableHighWaterMark,c=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:r&&(l||0===l)?l:c,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var f=!1===e.decodeStrings;this.decodeStrings=!f,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var n=e._writableState,r=n.sync,i=n.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(n),t)!function(e,t,n,r,i){--t.pendingcb,n?(o.nextTick(i,r),o.nextTick(x,e,t),e._writableState.errorEmitted=!0,e.emit("error",r)):(i(r),e._writableState.errorEmitted=!0,e.emit("error",r),x(e,t))}(e,n,r,t,i);else{var a=E(n);a||n.corked||n.bufferProcessing||!n.bufferedRequest||T(e,n),r?u(w,e,n,a,i):w(e,n,a,i)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new a(this)}function v(e){if(s=s||n(4),!d.call(v,this)&&!(this instanceof s))return new v(e);this._writableState=new g(e,this),this.writable=!0,e&&("function"===typeof e.write&&(this._write=e.write),"function"===typeof e.writev&&(this._writev=e.writev),"function"===typeof e.destroy&&(this._destroy=e.destroy),"function"===typeof e.final&&(this._final=e.final)),f.call(this)}function b(e,t,n,r,i,o,a){t.writelen=r,t.writecb=a,t.writing=!0,t.sync=!0,n?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function w(e,t,n,r){n||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,r(),x(e,t)}function T(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=t.bufferedRequestCount,i=new Array(r),o=t.corkedRequestsFree;o.entry=n;for(var s=0,u=!0;n;)i[s]=n,n.isBuf||(u=!1),n=n.next,s+=1;i.allBuffers=u,b(e,t,!0,t.length,i,"",o.finish),t.pendingcb++,t.lastBufferedRequest=null,o.next?(t.corkedRequestsFree=o.next,o.next=null):t.corkedRequestsFree=new a(t),t.bufferedRequestCount=0}else{for(;n;){var l=n.chunk,c=n.encoding,f=n.callback;if(b(e,t,!1,t.objectMode?1:l.length,l,c,f),n=n.next,t.bufferedRequestCount--,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}function E(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function _(e,t){e._final(function(n){t.pendingcb--,n&&e.emit("error",n),t.prefinished=!0,e.emit("prefinish"),x(e,t)})}function x(e,t){var n=E(t);return n&&(!function(e,t){t.prefinished||t.finalCalled||("function"===typeof e._final?(t.pendingcb++,t.finalCalled=!0,o.nextTick(_,e,t)):(t.prefinished=!0,e.emit("prefinish")))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),n}l.inherits(v,f),g.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(g.prototype,"buffer",{get:c.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"===typeof Symbol&&Symbol.hasInstance&&"function"===typeof Function.prototype[Symbol.hasInstance]?(d=Function.prototype[Symbol.hasInstance],Object.defineProperty(v,Symbol.hasInstance,{value:function(e){return!!d.call(this,e)||this===v&&(e&&e._writableState instanceof g)}})):d=function(e){return e instanceof this},v.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},v.prototype.write=function(e,t,n){var r,i=this._writableState,a=!1,s=!i.objectMode&&(r=e,p.isBuffer(r)||r instanceof h);return s&&!p.isBuffer(e)&&(e=function(e){return p.from(e)}(e)),"function"===typeof t&&(n=t,t=null),s?t="buffer":t||(t=i.defaultEncoding),"function"!==typeof n&&(n=y),i.ended?function(e,t){var n=new Error("write after end");e.emit("error",n),o.nextTick(t,n)}(this,n):(s||function(e,t,n,r){var i=!0,a=!1;return null===n?a=new TypeError("May not write null values to stream"):"string"===typeof n||void 0===n||t.objectMode||(a=new TypeError("Invalid non-string/buffer chunk")),a&&(e.emit("error",a),o.nextTick(r,a),i=!1),i}(this,i,e,n))&&(i.pendingcb++,a=function(e,t,n,r,i,o){if(!n){var a=function(e,t,n){e.objectMode||!1===e.decodeStrings||"string"!==typeof t||(t=p.from(t,n));return t}(t,r,i);r!==a&&(n=!0,i="buffer",r=a)}var s=t.objectMode?1:r.length;t.length+=s;var u=t.length-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(v.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),v.prototype._write=function(e,t,n){n(new Error("_write() is not implemented"))},v.prototype._writev=null,v.prototype.end=function(e,t,n){var r=this._writableState;"function"===typeof e?(n=e,e=null,t=null):"function"===typeof t&&(n=t,t=null),null!==e&&void 0!==e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||r.finished||function(e,t,n){t.ending=!0,x(e,t),n&&(t.finished?o.nextTick(n):e.once("finish",n));t.ended=!0,e.writable=!1}(this,r,n)},Object.defineProperty(v.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),v.prototype.destroy=m.destroy,v.prototype._undestroy=m.undestroy,v.prototype._destroy=function(e,t){this.end(),t(e)}}).call(this,n(11),n(46).setImmediate,n(5))},function(e,t,n){"use strict";var r=n(13).Buffer,i=r.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!==typeof t&&(r.isEncoding===i||!i(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=u,this.end=l,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=c,this.end=f,t=3;break;default:return this.write=p,void(this.end=h)}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(t)}function a(e){return e<=127?0:e>>5===6?2:e>>4===14?3:e>>3===30?4:e>>6===2?-1:-2}function s(e){var t=this.lastTotal-this.lastNeed,n=function(e,t,n){if(128!==(192&t[0]))return e.lastNeed=0,"\ufffd";if(e.lastNeed>1&&t.length>1){if(128!==(192&t[1]))return e.lastNeed=1,"\ufffd";if(e.lastNeed>2&&t.length>2&&128!==(192&t[2]))return e.lastNeed=2,"\ufffd"}}(this,e);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function u(e,t){if((e.length-t)%2===0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function l(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function c(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function f(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function p(e){return e.toString(this.encoding)}function h(e){return e&&e.length?this.write(e):""}t.StringDecoder=o,o.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n=0)return i>0&&(e.lastNeed=i-1),i;if(--r=0)return i>0&&(e.lastNeed=i-2),i;if(--r=0)return i>0&&(2===i?i=0:e.lastNeed=i-3),i;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)},o.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=n(65).parseString,o=function(e){var t=e;try{t=JSON.parse(e)}catch(e){return t}return t},a=function(e){var t=e;return e&&e[0]&&(t=e[0].text?e[0].text[0]?e[0].text[0].replace(/(\n|\t|\r)/g,""):e[0].text.replace(/(\n|\t|\r)/g,""):"string"==typeof e[0]?e[0].replace(/(\n|\t|\r)/g,""):e[0]),o(t)},s=function(e,t){return t.map(function(e){return{score:parseFloat(e.$.fraction),text:a([e])}})},u=function(e){return e&&e[0]&&e[0].tag&&e[0].tag instanceof Array?e[0].tag.map(function(e){return e.text[0]}):[]},l=function(e){return e?e instanceof Array&&e[0]?e[0].image_base64?e[0].image_base64[0]:e[0]:e:void 0},c=function(e){return e?e instanceof Array&&e[0]?e[0].text?o(e[0].text[0]):o(e[0]):e:void 0},f=function(e){return e?e instanceof Array?e.map(function(e){return{text:c(e.text),answer:c(e.answer)}}):e:void 0};t.default=function(e,t){var n=2/g,">").replace(/"/g,""").replace(/'/g,"'")};String.prototype.escapeCode=function(){return this.replace(/
([\s\S]+?)<\/pre>/gim,function(e,t){return"
"+h(t)+"
"}).replace(/([\s\S]+?)<\/code>/gim,function(e,t){return""+h(t)+""})};t.default=function(e,t){var n=2":"attribute: {"+e+"}, parent: <"+this.parent.name+">"},e.prototype.isEqualNode=function(e){return e.namespaceURI===this.namespaceURI&&(e.prefix===this.prefix&&(e.localName===this.localName&&e.value===this.value))},e}()}).call(this)},function(e,t,n){(function(){var t,r,i={}.hasOwnProperty;r=n(2),t=n(1),e.exports=function(e){function n(e){n.__super__.constructor.call(this,e),this.type=t.Dummy}return function(e,t){for(var n in t)i.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype}(n,r),n.prototype.clone=function(){return Object.create(this)},n.prototype.toString=function(e){return""},n}()}).call(this)},function(e,t){(function(){var t=function(e,t){return function(){return e.apply(t,arguments)}},n={}.hasOwnProperty;e.exports=function(){function e(e){var r,i,o;for(r in this.assertLegalName=t(this.assertLegalName,this),this.assertLegalChar=t(this.assertLegalChar,this),e||(e={}),this.options=e,this.options.version||(this.options.version="1.0"),i=e.stringify||{})n.call(i,r)&&(o=i[r],this[r]=o)}return e.prototype.name=function(e){return this.options.noValidation?e:this.assertLegalName(""+e||"")},e.prototype.text=function(e){return this.options.noValidation?e:this.assertLegalChar(this.textEscape(""+e||""))},e.prototype.cdata=function(e){return this.options.noValidation?e:(e=(e=""+e||"").replace("]]>","]]]]>"),this.assertLegalChar(e))},e.prototype.comment=function(e){if(this.options.noValidation)return e;if((e=""+e||"").match(/--/))throw new Error("Comment text cannot contain double-hypen: "+e);return this.assertLegalChar(e)},e.prototype.raw=function(e){return this.options.noValidation?e:""+e||""},e.prototype.attValue=function(e){return this.options.noValidation?e:this.assertLegalChar(this.attEscape(e=""+e||""))},e.prototype.insTarget=function(e){return this.options.noValidation?e:this.assertLegalChar(""+e||"")},e.prototype.insValue=function(e){if(this.options.noValidation)return e;if((e=""+e||"").match(/\?>/))throw new Error("Invalid processing instruction value: "+e);return this.assertLegalChar(e)},e.prototype.xmlVersion=function(e){if(this.options.noValidation)return e;if(!(e=""+e||"").match(/1\.[0-9]+/))throw new Error("Invalid version number: "+e);return e},e.prototype.xmlEncoding=function(e){if(this.options.noValidation)return e;if(!(e=""+e||"").match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+e);return this.assertLegalChar(e)},e.prototype.xmlStandalone=function(e){return this.options.noValidation?e:e?"yes":"no"},e.prototype.dtdPubID=function(e){return this.options.noValidation?e:this.assertLegalChar(""+e||"")},e.prototype.dtdSysID=function(e){return this.options.noValidation?e:this.assertLegalChar(""+e||"")},e.prototype.dtdElementValue=function(e){return this.options.noValidation?e:this.assertLegalChar(""+e||"")},e.prototype.dtdAttType=function(e){return this.options.noValidation?e:this.assertLegalChar(""+e||"")},e.prototype.dtdAttDefault=function(e){return this.options.noValidation?e:this.assertLegalChar(""+e||"")},e.prototype.dtdEntityValue=function(e){return this.options.noValidation?e:this.assertLegalChar(""+e||"")},e.prototype.dtdNData=function(e){return this.options.noValidation?e:this.assertLegalChar(""+e||"")},e.prototype.convertAttKey="@",e.prototype.convertPIKey="?",e.prototype.convertTextKey="#text",e.prototype.convertCDataKey="#cdata",e.prototype.convertCommentKey="#comment",e.prototype.convertRawKey="#raw",e.prototype.assertLegalChar=function(e){var t,n;if(this.options.noValidation)return e;if(t="","1.0"===this.options.version){if(t=/[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,n=e.match(t))throw new Error("Invalid character in string: "+e+" at index "+n.index)}else if("1.1"===this.options.version&&(t=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,n=e.match(t)))throw new Error("Invalid character in string: "+e+" at index "+n.index);return e},e.prototype.assertLegalName=function(e){var t;if(this.options.noValidation)return e;if(this.assertLegalChar(e),t=/^([:A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])([\x2D\.0-:A-Z_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*$/,!e.match(t))throw new Error("Invalid character in name");return e},e.prototype.textEscape=function(e){var t;return this.options.noValidation?e:(t=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,e.replace(t,"&").replace(//g,">").replace(/\r/g," "))},e.prototype.attEscape=function(e){var t;return this.options.noValidation?e:(t=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,e.replace(t,"&").replace(/0?new Array(r).join(t.indent):""},e.prototype.endline=function(e,t,n){return!t.pretty||t.suppressPrettyCount?"":t.newline},e.prototype.attribute=function(e,t,n){var r;return this.openAttribute(e,t,n),r=" "+e.name+'="'+e.value+'"',this.closeAttribute(e,t,n),r},e.prototype.cdata=function(e,t,n){var i;return this.openNode(e,t,n),t.state=r.OpenTag,i=this.indent(e,t,n)+""+this.endline(e,t,n),t.state=r.None,this.closeNode(e,t,n),i},e.prototype.comment=function(e,t,n){var i;return this.openNode(e,t,n),t.state=r.OpenTag,i=this.indent(e,t,n)+"\x3c!-- ",t.state=r.InsideTag,i+=e.value,t.state=r.CloseTag,i+=" --\x3e"+this.endline(e,t,n),t.state=r.None,this.closeNode(e,t,n),i},e.prototype.declaration=function(e,t,n){var i;return this.openNode(e,t,n),t.state=r.OpenTag,i=this.indent(e,t,n)+"",i+=this.endline(e,t,n),t.state=r.None,this.closeNode(e,t,n),i},e.prototype.docType=function(e,t,n){var i,o,a,s,u;if(n||(n=0),this.openNode(e,t,n),t.state=r.OpenTag,s=this.indent(e,t,n),s+="0){for(s+=" [",s+=this.endline(e,t,n),t.state=r.InsideTag,o=0,a=(u=e.children).length;o",s+=this.endline(e,t,n),t.state=r.None,this.closeNode(e,t,n),s},e.prototype.element=function(e,n,i){var a,s,u,l,c,f,p,h,d,m,y,g,v,b;for(d in i||(i=0),m=!1,y="",this.openNode(e,n,i),n.state=r.OpenTag,y+=this.indent(e,n,i)+"<"+e.name,g=e.attribs)o.call(g,d)&&(a=g[d],y+=this.attribute(a,n,i));if(l=0===(u=e.children.length)?null:e.children[0],0===u||e.children.every(function(e){return(e.type===t.Text||e.type===t.Raw)&&""===e.value}))n.allowEmpty?(y+=">",n.state=r.CloseTag,y+=""+this.endline(e,n,i)):(n.state=r.CloseTag,y+=n.spaceBeforeSlash+"/>"+this.endline(e,n,i));else if(!n.pretty||1!==u||l.type!==t.Text&&l.type!==t.Raw||null==l.value){if(n.dontPrettyTextNodes)for(c=0,p=(v=e.children).length;c"+this.endline(e,n,i),n.state=r.InsideTag,f=0,h=(b=e.children).length;f",m&&n.suppressPrettyCount--,y+=this.endline(e,n,i),n.state=r.None}else y+=">",n.state=r.InsideTag,n.suppressPrettyCount++,m=!0,y+=this.writeChildNode(l,n,i+1),n.suppressPrettyCount--,m=!1,n.state=r.CloseTag,y+=""+this.endline(e,n,i);return this.closeNode(e,n,i),y},e.prototype.writeChildNode=function(e,n,r){switch(e.type){case t.CData:return this.cdata(e,n,r);case t.Comment:return this.comment(e,n,r);case t.Element:return this.element(e,n,r);case t.Raw:return this.raw(e,n,r);case t.Text:return this.text(e,n,r);case t.ProcessingInstruction:return this.processingInstruction(e,n,r);case t.Dummy:return"";case t.Declaration:return this.declaration(e,n,r);case t.DocType:return this.docType(e,n,r);case t.AttributeDeclaration:return this.dtdAttList(e,n,r);case t.ElementDeclaration:return this.dtdElement(e,n,r);case t.EntityDeclaration:return this.dtdEntity(e,n,r);case t.NotationDeclaration:return this.dtdNotation(e,n,r);default:throw new Error("Unknown XML node type: "+e.constructor.name)}},e.prototype.processingInstruction=function(e,t,n){var i;return this.openNode(e,t,n),t.state=r.OpenTag,i=this.indent(e,t,n)+"",i+=this.endline(e,t,n),t.state=r.None,this.closeNode(e,t,n),i},e.prototype.raw=function(e,t,n){var i;return this.openNode(e,t,n),t.state=r.OpenTag,i=this.indent(e,t,n),t.state=r.InsideTag,i+=e.value,t.state=r.CloseTag,i+=this.endline(e,t,n),t.state=r.None,this.closeNode(e,t,n),i},e.prototype.text=function(e,t,n){var i;return this.openNode(e,t,n),t.state=r.OpenTag,i=this.indent(e,t,n),t.state=r.InsideTag,i+=e.value,t.state=r.CloseTag,i+=this.endline(e,t,n),t.state=r.None,this.closeNode(e,t,n),i},e.prototype.dtdAttList=function(e,t,n){var i;return this.openNode(e,t,n),t.state=r.OpenTag,i=this.indent(e,t,n)+""+this.endline(e,t,n),t.state=r.None,this.closeNode(e,t,n),i},e.prototype.dtdElement=function(e,t,n){var i;return this.openNode(e,t,n),t.state=r.OpenTag,i=this.indent(e,t,n)+""+this.endline(e,t,n),t.state=r.None,this.closeNode(e,t,n),i},e.prototype.dtdEntity=function(e,t,n){var i;return this.openNode(e,t,n),t.state=r.OpenTag,i=this.indent(e,t,n)+""+this.endline(e,t,n),t.state=r.None,this.closeNode(e,t,n),i},e.prototype.dtdNotation=function(e,t,n){var i;return this.openNode(e,t,n),t.state=r.OpenTag,i=this.indent(e,t,n)+""+this.endline(e,t,n),t.state=r.None,this.closeNode(e,t,n),i},e.prototype.openNode=function(e,t,n){},e.prototype.closeNode=function(e,t,n){},e.prototype.openAttribute=function(e,t,n){},e.prototype.closeAttribute=function(e,t,n){},e}()}).call(this)},function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},function(e,t,n){"use strict";(function(t,r){var i=n(12);e.exports=b;var o,a=n(42);b.ReadableState=v;n(10).EventEmitter;var s=function(e,t){return e.listeners(t).length},u=n(44),l=n(13).Buffer,c=t.Uint8Array||function(){};var f=Object.create(n(7));f.inherits=n(6);var p=n(80),h=void 0;h=p&&p.debuglog?p.debuglog("stream"):function(){};var d,m=n(81),y=n(45);f.inherits(b,u);var g=["error","close","destroy","pause","resume"];function v(e,t){e=e||{};var r=t instanceof(o=o||n(4));this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var i=e.highWaterMark,a=e.readableHighWaterMark,s=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:r&&(a||0===a)?a:s,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new m,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(d||(d=n(32).StringDecoder),this.decoder=new d(e.encoding),this.encoding=e.encoding)}function b(e){if(o=o||n(4),!(this instanceof b))return new b(e);this._readableState=new v(e,this),this.readable=!0,e&&("function"===typeof e.read&&(this._read=e.read),"function"===typeof e.destroy&&(this._destroy=e.destroy)),u.call(this)}function w(e,t,n,r,i){var o,a=e._readableState;null===t?(a.reading=!1,function(e,t){if(t.ended)return;if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,x(e)}(e,a)):(i||(o=function(e,t){var n;r=t,l.isBuffer(r)||r instanceof c||"string"===typeof t||void 0===t||e.objectMode||(n=new TypeError("Invalid non-string/buffer chunk"));var r;return n}(a,t)),o?e.emit("error",o):a.objectMode||t&&t.length>0?("string"===typeof t||a.objectMode||Object.getPrototypeOf(t)===l.prototype||(t=function(e){return l.from(e)}(t)),r?a.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):T(e,a,t,!0):a.ended?e.emit("error",new Error("stream.push() after EOF")):(a.reading=!1,a.decoder&&!n?(t=a.decoder.write(t),a.objectMode||0!==t.length?T(e,a,t,!1):k(e,a)):T(e,a,t,!1))):r||(a.reading=!1));return function(e){return!e.ended&&(e.needReadable||e.lengtht.highWaterMark&&(t.highWaterMark=function(e){return e>=E?e=E:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function x(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(h("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?i.nextTick(S,e):S(e))}function S(e){h("emit readable"),e.emit("readable"),P(e)}function k(e,t){t.readingMore||(t.readingMore=!0,i.nextTick(C,e,t))}function C(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):n=function(e,t,n){var r;eo.length?o.length:e;if(a===o.length?i+=o:i+=o.slice(0,e),0===(e-=a)){a===o.length?(++r,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=o.slice(a));break}++r}return t.length-=r,i}(e,t):function(e,t){var n=l.allocUnsafe(e),r=t.head,i=1;r.data.copy(n),e-=r.data.length;for(;r=r.next;){var o=r.data,a=e>o.length?o.length:e;if(o.copy(n,n.length-e,0,a),0===(e-=a)){a===o.length?(++i,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=o.slice(a));break}++i}return t.length-=i,n}(e,t);return r}(e,t.buffer,t.decoder),n);var n}function I(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,i.nextTick(A,t,e))}function A(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function R(e,t){for(var n=0,r=e.length;n=t.highWaterMark||t.ended))return h("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?I(this):x(this),null;if(0===(e=_(e,t))&&t.ended)return 0===t.length&&I(this),null;var r,i=t.needReadable;return h("need readable",i),(0===t.length||t.length-e0?D(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&I(this)),null!==r&&this.emit("data",r),r},b.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},b.prototype.pipe=function(e,t){var n=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=e;break;case 1:o.pipes=[o.pipes,e];break;default:o.pipes.push(e)}o.pipesCount+=1,h("pipe count=%d opts=%j",o.pipesCount,t);var u=(!t||!1!==t.end)&&e!==r.stdout&&e!==r.stderr?c:b;function l(t,r){h("onunpipe"),t===n&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,h("cleanup"),e.removeListener("close",g),e.removeListener("finish",v),e.removeListener("drain",f),e.removeListener("error",y),e.removeListener("unpipe",l),n.removeListener("end",c),n.removeListener("end",b),n.removeListener("data",m),p=!0,!o.awaitDrain||e._writableState&&!e._writableState.needDrain||f())}function c(){h("onend"),e.end()}o.endEmitted?i.nextTick(u):n.once("end",u),e.on("unpipe",l);var f=function(e){return function(){var t=e._readableState;h("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&s(e,"data")&&(t.flowing=!0,P(e))}}(n);e.on("drain",f);var p=!1;var d=!1;function m(t){h("ondata"),d=!1,!1!==e.write(t)||d||((1===o.pipesCount&&o.pipes===e||o.pipesCount>1&&-1!==R(o.pipes,e))&&!p&&(h("false write response, pause",n._readableState.awaitDrain),n._readableState.awaitDrain++,d=!0),n.pause())}function y(t){h("onerror",t),b(),e.removeListener("error",y),0===s(e,"error")&&e.emit("error",t)}function g(){e.removeListener("finish",v),b()}function v(){h("onfinish"),e.removeListener("close",g),b()}function b(){h("unpipe"),n.unpipe(e)}return n.on("data",m),function(e,t,n){if("function"===typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?a(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",y),e.once("close",g),e.once("finish",v),e.emit("pipe",n),o.flowing||(h("pipe resume"),n.resume()),e},b.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n),this);if(!e){var r=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},n(83),t.setImmediate="undefined"!==typeof self&&self.setImmediate||"undefined"!==typeof e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!==typeof self&&self.clearImmediate||"undefined"!==typeof e&&e.clearImmediate||this&&this.clearImmediate}).call(this,n(5))},function(e,t,n){"use strict";e.exports=a;var r=n(4),i=Object.create(n(7));function o(e,t){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(!r)return this.emit("error",new Error("write callback called multiple times"));n.writechunk=null,n.writecb=null,null!=t&&this.push(t),r(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.lengthP.length&&P.push(e)}function A(e,t,n){return null==e?0:function e(t,n,r,i){var s=typeof t;"undefined"!==s&&"boolean"!==s||(t=null);var u=!1;if(null===t)u=!0;else switch(s){case"string":case"number":u=!0;break;case"object":switch(t.$$typeof){case o:case a:u=!0}}if(u)return r(i,t,""===n?"."+R(t,0):n),1;if(u=0,n=""===n?".":n+":",Array.isArray(t))for(var l=0;l