mozilla / geckodriver

WebDriver for Firefox
https://firefox-source-docs.mozilla.org/testing/geckodriver/
Mozilla Public License 2.0
7.12k stars 1.52k forks source link

Subscribing to Push Notifications Using geckodriver - DOMException: "Error retrieving push subscription." #1687

Open rgomezp opened 4 years ago

rgomezp commented 4 years ago

System

Testcase

site: https://web-app-custom.herokuapp.com/

it('allow -> subscription status = true', async function() {
            const bell = await GetElement.byXpath(this.testDriver, '//*[@id="onesignal-bell-launcher"]/div[1]', 5);
            await bell.click();

            const subscription = await GetElement.byIdWithValue(this.testDriver, 'subscription-status', "true", 5);
            const subscriptionValue = await subscription.getText();

            assert.equal(subscriptionValue, "true");
        });

Summary

I'm trying to subscribe to notifications using selenium by clicking on the subscription bell that's on the website. The console displays the following error:

DOMException: "Error retrieving push subscription."

The site works normally in a regular environment, so I'm wondering whether this is a limitation of running the test using geckodriver. If not, is there a flag that I can use to bypass this?

Thank you!

whimboo commented 4 years ago

Could you please attach a trace-level log from geckodriver? Read more about reporting actionable bugs in our contribution guidelines.

rgomezp commented 4 years ago
yarn test -l -b firefox
yarn run v1.12.3
$ ./scripts/test.sh -l -b firefox
1582667661511   geckodriver DEBUG   Listening on 127.0.0.1:4535

  firefox canary - Windows 10
1582667663708   webdriver::server   DEBUG   -> POST /session {"desiredCapabilities":{"browserName":"firefox","sauce:options":{"name":"allow -> subscription status = true"},"goog:loggingPrefs":{"browser":"ALL"},"moz:firefoxOptions":{"prefs":{"permissions.default.desktop-notification":1}}},"capabilities":{"alwaysMatch":{"browserName":"firefox","sauce:options":{"name":"allow -> subscription status = true"},"goog:loggingPrefs":{"browser":"ALL"},"moz:firefoxOptions":{"prefs":{"permissions.default.desktop-notification":1}}}}}
1582667663712   mozrunner::runner   INFO    Running command: "/Applications/Firefox.app/Contents/MacOS/firefox-bin" "-marionette" "-foreground" "-no-remote" "-profile" "/var/folders/28/92hw068n5cx40xd8ybx577d00000gn/T/rust_mozprofile4xbnxz"
1582667663713   geckodriver::marionette DEBUG   Waiting 60s to connect to browser on 127.0.0.1:56767
1582667664133   addons.webextension.doh-rollout@mozilla.org WARN    Loading extension 'doh-rollout@mozilla.org': Reading manifest: Invalid extension permission: networkStatus
1582667664403   addons.webextension.screenshots@mozilla.org WARN    Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: mozillaAddons
1582667664403   addons.webextension.screenshots@mozilla.org WARN    Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: telemetry
1582667664404   addons.webextension.screenshots@mozilla.org WARN    Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: resource://pdf.js/
1582667664404   addons.webextension.screenshots@mozilla.org WARN    Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: about:reader*
1582667664494   Marionette  TRACE   Received observer notification profile-after-change
1582667664557   Marionette  TRACE   Received observer notification command-line-startup
1582667664557   Marionette  DEBUG   Init aborted (running=false, enabled=true, finalUIStartup=false)
1582667664625   Marionette  TRACE   Received observer notification toplevel-window-ready
1582667666197   Marionette  TRACE   Received observer notification marionette-startup-requested
1582667666197   Marionette  TRACE   Waiting until startup recorder finished recording startup scripts...
1582667666264   Marionette  TRACE   All scripts recorded.
1582667666264   Marionette  DEBUG   Setting recommended pref apz.content_response_timeout to 60000
1582667666265   Marionette  DEBUG   Setting recommended pref browser.contentblocking.introCount to 99
1582667666265   Marionette  DEBUG   Setting recommended pref browser.download.panel.shown to true
1582667666265   Marionette  DEBUG   Setting recommended pref browser.newtabpage.enabled to false
1582667666266   Marionette  DEBUG   Setting recommended pref browser.pagethumbnails.capturing_disabled to true
1582667666266   Marionette  DEBUG   Setting recommended pref browser.search.update to false
1582667666267   Marionette  DEBUG   Setting recommended pref browser.tabs.disableBackgroundZombification to false
1582667666267   Marionette  DEBUG   Setting recommended pref browser.tabs.remote.separatePrivilegedContentProcess to false
1582667666267   Marionette  DEBUG   Setting recommended pref browser.tabs.unloadOnLowMemory to false
1582667666267   Marionette  DEBUG   Setting recommended pref browser.tabs.warnOnCloseOtherTabs to false
1582667666267   Marionette  DEBUG   Setting recommended pref browser.tabs.warnOnOpen to false
1582667666268   Marionette  DEBUG   Setting recommended pref browser.usedOnWindows10.introURL to
1582667666268   Marionette  DEBUG   Setting recommended pref browser.urlbar.suggest.searches to false
1582667666269   Marionette  DEBUG   Setting recommended pref datareporting.policy.dataSubmissionPolicyAccepted to false
1582667666269   Marionette  DEBUG   Setting recommended pref dom.disable_beforeunload to true
1582667666269   Marionette  DEBUG   Setting recommended pref dom.disable_open_during_load to false
1582667666269   Marionette  DEBUG   Setting recommended pref dom.file.createInChild to true
1582667666269   Marionette  DEBUG   Setting recommended pref dom.max_chrome_script_run_time to 0
1582667666269   Marionette  DEBUG   Setting recommended pref dom.max_script_run_time to 0
1582667666270   Marionette  DEBUG   Setting recommended pref dom.push.connection.enabled to false
1582667666270   Marionette  DEBUG   Setting recommended pref extensions.getAddons.cache.enabled to false
1582667666270   Marionette  DEBUG   Setting recommended pref extensions.webservice.discoverURL to http://%(server)s/dummy/discoveryURL
1582667666271   Marionette  DEBUG   Setting recommended pref network.http.prompt-temp-redirect to false
1582667666271   Marionette  DEBUG   Setting recommended pref network.http.speculative-parallel-limit to 0
1582667666271   Marionette  DEBUG   Setting recommended pref privacy.trackingprotection.enabled to false
1582667666271   Marionette  DEBUG   Setting recommended pref security.fileuri.strict_origin_policy to false
1582667666271   Marionette  DEBUG   Setting recommended pref security.notification_enable_delay to 0
1582667666271   Marionette  DEBUG   Setting recommended pref signon.autofillForms to false
1582667666271   Marionette  DEBUG   Setting recommended pref signon.rememberSignons to false
1582667666272   Marionette  DEBUG   Setting recommended pref toolkit.cosmeticAnimations.enabled to false
1582667666317   Marionette  INFO    Listening on port 56767
1582667666318   Marionette  DEBUG   Marionette is listening
1582667666370   Marionette  DEBUG   Accepted connection 0 from 127.0.0.1:56814
1582667666371   geckodriver::marionette DEBUG   Connection to Marionette established on 127.0.0.1:56767.
1582667666372   Marionette  DEBUG   0 -> [0,1,"WebDriver:NewSession",{"browserName":"firefox","goog:loggingPrefs":{"browser":"ALL"},"sauce:options":{"name":"allow -> subscription status = true"}}]
1582667666396   Marionette  TRACE   [17] Frame script loaded
1582667666397   Marionette  TRACE   [17] Frame script registered
1582667666405   Marionette  DEBUG   0 <- [1,1,null,{"sessionId":"985d0cab-c1ff-a542-b2a7-63220a95b4dd","capabilities":{"browserName":"firefox","browserVersion":"73.0. ... :webdriverClick":true,"goog:loggingPrefs":{"browser":"ALL"},"sauce:options":{"name":"allow -> subscription status = true"}}}]
1582667666414   webdriver::server   DEBUG   <- 200 OK {"value":{"sessionId":"985d0cab-c1ff-a542-b2a7-63220a95b4dd","capabilities":{"acceptInsecureCerts":false,"browserName":"firefox","browserVersion":"73.0.1","goog:loggingPrefs":{"browser":"ALL"},"moz:accessibilityChecks":false,"moz:buildID":"20200217142647","moz:geckodriverVersion":"0.26.0","moz:headless":false,"moz:processID":17809,"moz:profile":"/var/folders/28/92hw068n5cx40xd8ybx577d00000gn/T/rust_mozprofile4xbnxz","moz:shutdownTimeout":60000,"moz:useNonSpecCompliantPointerOrigin":false,"moz:webdriverClick":true,"pageLoadStrategy":"normal","platformName":"mac","platformVersion":"19.0.0","rotatable":false,"sauce:options":{"name":"allow -> subscription status = true"},"setWindowRect":true,"strictFileInteractability":false,"timeouts":{"implicit":0,"pageLoad":300000,"script":30000},"unhandledPromptBehavior":"dismiss and notify"}}}
1582667666428   webdriver::server   DEBUG   -> POST /session/985d0cab-c1ff-a542-b2a7-63220a95b4dd/url {"url":"https://web-app-custom.herokuapp.com/"}
1582667666429   Marionette  DEBUG   0 -> [0,2,"WebDriver:Navigate",{"url":"https://web-app-custom.herokuapp.com/"}]
1582667666438   Marionette  TRACE   [17] Received DOM event beforeunload for about:blank
1582667666692   Marionette  TRACE   [17] Received DOM event pagehide for about:blank
1582667667011   Marionette  TRACE   [17] Received DOM event DOMContentLoaded for https://web-app-custom.herokuapp.com/
1582667667017   Marionette  TRACE   [17] Received DOM event pageshow for https://web-app-custom.herokuapp.com/
1582667667018   Marionette  DEBUG   0 <- [1,2,null,{"value":null}]
1582667667019   webdriver::server   DEBUG   <- 200 OK {"value":null}
1582667667024   webdriver::server   DEBUG   -> POST /session/985d0cab-c1ff-a542-b2a7-63220a95b4dd/elements {"using":"xpath","value":"//*[@id=\"onesignal-bell-launcher\"]/div[1]"}
1582667667025   Marionette  DEBUG   0 -> [0,3,"WebDriver:FindElements",{"using":"xpath","value":"//*[@id=\"onesignal-bell-launcher\"]/div[1]"}]
1582667667027   Marionette  DEBUG   0 <- [1,3,null,[]]
1582667667027   webdriver::server   DEBUG   <- 200 OK {"value":[]}
1582667667232   webdriver::server   DEBUG   -> POST /session/985d0cab-c1ff-a542-b2a7-63220a95b4dd/elements {"using":"xpath","value":"//*[@id=\"onesignal-bell-launcher\"]/div[1]"}
1582667667233   Marionette  DEBUG   0 -> [0,4,"WebDriver:FindElements",{"using":"xpath","value":"//*[@id=\"onesignal-bell-launcher\"]/div[1]"}]
1582667667238   Marionette  DEBUG   0 <- [1,4,null,[{"element-6066-11e4-a52e-4f735466cecf":"63fe48b1-5d8e-0447-b148-d1d52fbf3bee"}]]
1582667667238   webdriver::server   DEBUG   <- 200 OK {"value":[{"element-6066-11e4-a52e-4f735466cecf":"63fe48b1-5d8e-0447-b148-d1d52fbf3bee"}]}
1582667667243   webdriver::server   DEBUG   -> POST /session/985d0cab-c1ff-a542-b2a7-63220a95b4dd/execute/sync {"script":"return (function(){return (function(){var k=this;function l(a){return void 0!==a}function n(a){return\"string\"==typeof a}function aa(a,b){a=a.split(\".\");var c=k;a[0]in c||\"undefined\"==typeof c.execScript||c.execScript(\"var \"+a[0]);for(var d;a.length&&(d=a.shift());)!a.length&&l(b)?c[d]=b:c[d]&&c[d]!==Object.prototype[d]?c=c[d]:c=c[d]={}}\nfunction ba(a){var b=typeof a;if(\"object\"==b)if(a){if(a instanceof Array)return\"array\";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if(\"[object Window]\"==c)return\"object\";if(\"[object Array]\"==c||\"number\"==typeof a.length&&\"undefined\"!=typeof a.splice&&\"undefined\"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable(\"splice\"))return\"array\";if(\"[object Function]\"==c||\"undefined\"!=typeof a.call&&\"undefined\"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable(\"call\"))return\"function\"}else return\"null\";\nelse if(\"function\"==b&&\"undefined\"==typeof a.call)return\"object\";return b}function ca(a,b,c){return a.call.apply(a.bind,arguments)}function da(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var e=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(e,d);return a.apply(b,e)}}return function(){return a.apply(b,arguments)}}\nfunction ea(a,b,c){Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf(\"native code\")?ea=ca:ea=da;return ea.apply(null,arguments)}function fa(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var d=c.slice();d.push.apply(d,arguments);return a.apply(this,d)}}function t(a,b){function c(){}c.prototype=b.prototype;a.prototype=new c;a.prototype.constructor=a};/*\n\n The MIT License\n\n Copyright (c) 2007 Cybozu Labs, Inc.\n Copyright (c) 2012 Google Inc.\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to\n deal in the Software without restriction, including without limitation the\n rights to use, copy, modify, merge, publish, distribute, sublicense, and/or\n sell copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in\n all copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS\n IN THE SOFTWARE.\n*/\nfunction ha(a,b,c){this.a=a;this.b=b||1;this.f=c||1};var ia=Array.prototype.indexOf?function(a,b){return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if(n(a))return n(b)&&1==b.length?a.indexOf(b,0):-1;for(var c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},u=Array.prototype.forEach?function(a,b){Array.prototype.forEach.call(a,b,void 0)}:function(a,b){for(var c=a.length,d=n(a)?a.split(\"\"):a,e=0;e<c;e++)e in d&&b.call(void 0,d[e],e,a)},ja=Array.prototype.filter?function(a,b){return Array.prototype.filter.call(a,b,void 0)}:function(a,\nb){for(var c=a.length,d=[],e=0,f=n(a)?a.split(\"\"):a,g=0;g<c;g++)if(g in f){var h=f[g];b.call(void 0,h,g,a)&&(d[e++]=h)}return d},ka=Array.prototype.reduce?function(a,b,c){return Array.prototype.reduce.call(a,b,c)}:function(a,b,c){var d=c;u(a,function(e,f){d=b.call(void 0,d,e,f,a)});return d},la=Array.prototype.some?function(a,b){return Array.prototype.some.call(a,b,void 0)}:function(a,b){for(var c=a.length,d=n(a)?a.split(\"\"):a,e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a))return!0;return!1},ma=Array.prototype.every?\nfunction(a,b){return Array.prototype.every.call(a,b,void 0)}:function(a,b){for(var c=a.length,d=n(a)?a.split(\"\"):a,e=0;e<c;e++)if(e in d&&!b.call(void 0,d[e],e,a))return!1;return!0};function na(a,b){a:{for(var c=a.length,d=n(a)?a.split(\"\"):a,e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a)){b=e;break a}b=-1}return 0>b?null:n(a)?a.charAt(b):a[b]}function oa(a){return Array.prototype.concat.apply([],arguments)}\nfunction pa(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)};var qa=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\\s\\xa0]*([\\s\\S]*?)[\\s\\xa0]*$/.exec(a)[1]};function ra(a,b){return a<b?-1:a>b?1:0};var v;a:{var sa=k.navigator;if(sa){var ta=sa.userAgent;if(ta){v=ta;break a}}v=\"\"}function y(a){return-1!=v.indexOf(a)};function ua(){return y(\"Firefox\")||y(\"FxiOS\")}function va(){return(y(\"Chrome\")||y(\"CriOS\"))&&!y(\"Edge\")};function wa(a){return String(a).replace(/\\-([a-z])/g,function(b,c){return c.toUpperCase()})}function xa(a){isFinite(a)&&(a=String(a));return n(a)?/^\\s*-?0x/i.test(a)?parseInt(a,16):parseInt(a,10):NaN};function ya(){return y(\"iPhone\")&&!y(\"iPod\")&&!y(\"iPad\")};function za(a,b){var c=Aa;return Object.prototype.hasOwnProperty.call(c,a)?c[a]:c[a]=b(a)};var Ba=y(\"Opera\"),z=y(\"Trident\")||y(\"MSIE\"),Ca=y(\"Edge\"),Da=y(\"Gecko\")&&!(-1!=v.toLowerCase().indexOf(\"webkit\")&&!y(\"Edge\"))&&!(y(\"Trident\")||y(\"MSIE\"))&&!y(\"Edge\"),Ea=-1!=v.toLowerCase().indexOf(\"webkit\")&&!y(\"Edge\");function Fa(){var a=k.document;return a?a.documentMode:void 0}var Ga;\na:{var Ha=\"\",Ia=function(){var a=v;if(Da)return/rv:([^\\);]+)(\\)|;)/.exec(a);if(Ca)return/Edge\\/([\\d\\.]+)/.exec(a);if(z)return/\\b(?:MSIE|rv)[: ]([^\\);]+)(\\)|;)/.exec(a);if(Ea)return/WebKit\\/(\\S+)/.exec(a);if(Ba)return/(?:Version)[ \\/]?(\\S+)/.exec(a)}();Ia&&(Ha=Ia?Ia[1]:\"\");if(z){var Ja=Fa();if(null!=Ja&&Ja>parseFloat(Ha)){Ga=String(Ja);break a}}Ga=Ha}var Aa={};\nfunction Ka(a){return za(a,function(){for(var b=0,c=qa(String(Ga)).split(\".\"),d=qa(String(a)).split(\".\"),e=Math.max(c.length,d.length),f=0;0==b&&f<e;f++){var g=c[f]||\"\",h=d[f]||\"\";do{g=/(\\d*)(\\D*)(.*)/.exec(g)||[\"\",\"\",\"\",\"\"];h=/(\\d*)(\\D*)(.*)/.exec(h)||[\"\",\"\",\"\",\"\"];if(0==g[0].length&&0==h[0].length)break;b=ra(0==g[1].length?0:parseInt(g[1],10),0==h[1].length?0:parseInt(h[1],10))||ra(0==g[2].length,0==h[2].length)||ra(g[2],h[2]);g=g[3];h=h[3]}while(0==b)}return 0<=b})}var La;var Ma=k.document;\nLa=Ma&&z?Fa()||(\"CSS1Compat\"==Ma.compatMode?parseInt(Ga,10):5):void 0;var A=z&&!(9<=Number(La)),Na=z&&!(8<=Number(La));function Oa(a,b,c,d){this.a=a;this.nodeName=c;this.nodeValue=d;this.nodeType=2;this.parentNode=this.ownerElement=b}function Pa(a,b){var c=Na&&\"href\"==b.nodeName?a.getAttribute(b.nodeName,2):b.nodeValue;return new Oa(b,a,b.nodeName,c)};function Qa(a){this.b=a;this.a=0}function Ra(a){a=a.match(Sa);for(var b=0;b<a.length;b++)Ta.test(a[b])&&a.splice(b,1);return new Qa(a)}var Sa=/\\$?(?:(?![0-9-\\.])(?:\\*|[\\w-\\.]+):)?(?![0-9-\\.])(?:\\*|[\\w-\\.]+)|\\/\\/|\\.\\.|::|\\d+(?:\\.\\d*)?|\\.\\d+|\"[^\"]*\"|'[^']*'|[!<>]=|\\s+|./g,Ta=/^\\s/;function B(a,b){return a.b[a.a+(b||0)]}function C(a){return a.b[a.a++]}function Ua(a){return a.b.length<=a.a};function Va(a,b){this.x=l(a)?a:0;this.y=l(b)?b:0}Va.prototype.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};Va.prototype.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};Va.prototype.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};function Wa(a,b){this.width=a;this.height=b}Wa.prototype.aspectRatio=function(){return this.width/this.height};Wa.prototype.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};Wa.prototype.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};Wa.prototype.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};function Xa(a,b){if(!a||!b)return!1;if(a.contains&&1==b.nodeType)return a==b||a.contains(b);if(\"undefined\"!=typeof a.compareDocumentPosition)return a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a}\nfunction Ya(a,b){if(a==b)return 0;if(a.compareDocumentPosition)return a.compareDocumentPosition(b)&2?1:-1;if(z&&!(9<=Number(La))){if(9==a.nodeType)return-1;if(9==b.nodeType)return 1}if(\"sourceIndex\"in a||a.parentNode&&\"sourceIndex\"in a.parentNode){var c=1==a.nodeType,d=1==b.nodeType;if(c&&d)return a.sourceIndex-b.sourceIndex;var e=a.parentNode,f=b.parentNode;return e==f?Za(a,b):!c&&Xa(e,b)?-1*$a(a,b):!d&&Xa(f,a)?$a(b,a):(c?a.sourceIndex:e.sourceIndex)-(d?b.sourceIndex:f.sourceIndex)}d=D(a);c=d.createRange();\nc.selectNode(a);c.collapse(!0);a=d.createRange();a.selectNode(b);a.collapse(!0);return c.compareBoundaryPoints(k.Range.START_TO_END,a)}function $a(a,b){var c=a.parentNode;if(c==b)return-1;for(;b.parentNode!=c;)b=b.parentNode;return Za(b,a)}function Za(a,b){for(;b=b.previousSibling;)if(b==a)return-1;return 1}function D(a){return 9==a.nodeType?a:a.ownerDocument||a.document}function ab(a,b){a&&(a=a.parentNode);for(var c=0;a;){if(b(a))return a;a=a.parentNode;c++}return null}\nfunction bb(a){this.a=a||k.document||document}bb.prototype.getElementsByTagName=function(a,b){return(b||this.a).getElementsByTagName(String(a))};function E(a){var b=null,c=a.nodeType;1==c&&(b=a.textContent,b=void 0==b||null==b?a.innerText:b,b=void 0==b||null==b?\"\":b);if(\"string\"!=typeof b)if(A&&\"title\"==a.nodeName.toLowerCase()&&1==c)b=a.text;else if(9==c||1==c){a=9==c?a.documentElement:a.firstChild;c=0;var d=[];for(b=\"\";a;){do 1!=a.nodeType&&(b+=a.nodeValue),A&&\"title\"==a.nodeName.toLowerCase()&&(b+=a.text),d[c++]=a;while(a=a.firstChild);for(;c&&!(a=d[--c].nextSibling););}}else b=a.nodeValue;return b}\nfunction H(a,b,c){if(null===b)return!0;try{if(!a.getAttribute)return!1}catch(d){return!1}Na&&\"class\"==b&&(b=\"className\");return null==c?!!a.getAttribute(b):a.getAttribute(b,2)==c}function cb(a,b,c,d,e){return(A?db:eb).call(null,a,b,n(c)?c:null,n(d)?d:null,e||new I)}\nfunction db(a,b,c,d,e){if(a instanceof fb||8==a.b||c&&null===a.b){var f=b.all;if(!f)return e;a=gb(a);if(\"*\"!=a&&(f=b.getElementsByTagName(a),!f))return e;if(c){for(var g=[],h=0;b=f[h++];)H(b,c,d)&&g.push(b);f=g}for(h=0;b=f[h++];)\"*\"==a&&\"!\"==b.tagName||e.add(b);return e}hb(a,b,c,d,e);return e}\nfunction eb(a,b,c,d,e){b.getElementsByName&&d&&\"name\"==c&&!z?(b=b.getElementsByName(d),u(b,function(f){a.a(f)&&e.add(f)})):b.getElementsByClassName&&d&&\"class\"==c?(b=b.getElementsByClassName(d),u(b,function(f){f.className==d&&a.a(f)&&e.add(f)})):a instanceof J?hb(a,b,c,d,e):b.getElementsByTagName&&(b=b.getElementsByTagName(a.f()),u(b,function(f){H(f,c,d)&&e.add(f)}));return e}\nfunction ib(a,b,c,d,e){var f;if((a instanceof fb||8==a.b||c&&null===a.b)&&(f=b.childNodes)){var g=gb(a);if(\"*\"!=g&&(f=ja(f,function(h){return h.tagName&&h.tagName.toLowerCase()==g}),!f))return e;c&&(f=ja(f,function(h){return H(h,c,d)}));u(f,function(h){\"*\"==g&&(\"!\"==h.tagName||\"*\"==g&&1!=h.nodeType)||e.add(h)});return e}return jb(a,b,c,d,e)}function jb(a,b,c,d,e){for(b=b.firstChild;b;b=b.nextSibling)H(b,c,d)&&a.a(b)&&e.add(b);return e}\nfunction hb(a,b,c,d,e){for(b=b.firstChild;b;b=b.nextSibling)H(b,c,d)&&a.a(b)&&e.add(b),hb(a,b,c,d,e)}function gb(a){if(a instanceof J){if(8==a.b)return\"!\";if(null===a.b)return\"*\"}return a.f()};function I(){this.b=this.a=null;this.l=0}function lb(a){this.f=a;this.a=this.b=null}function mb(a,b){if(!a.a)return b;if(!b.a)return a;var c=a.a;b=b.a;for(var d=null,e,f=0;c&&b;){e=c.f;var g=b.f;e==g||e instanceof Oa&&g instanceof Oa&&e.a==g.a?(e=c,c=c.a,b=b.a):0<Ya(c.f,b.f)?(e=b,b=b.a):(e=c,c=c.a);(e.b=d)?d.a=e:a.a=e;d=e;f++}for(e=c||b;e;)e.b=d,d=d.a=e,f++,e=e.a;a.b=d;a.l=f;return a}function nb(a,b){b=new lb(b);b.a=a.a;a.b?a.a.b=b:a.a=a.b=b;a.a=b;a.l++}\nI.prototype.add=function(a){a=new lb(a);a.b=this.b;this.a?this.b.a=a:this.a=this.b=a;this.b=a;this.l++};function ob(a){return(a=a.a)?a.f:null}function pb(a){return(a=ob(a))?E(a):\"\"}function K(a,b){return new qb(a,!!b)}function qb(a,b){this.f=a;this.b=(this.s=b)?a.b:a.a;this.a=null}function L(a){var b=a.b;if(null==b)return null;var c=a.a=b;a.b=a.s?b.b:b.a;return c.f};function M(a){this.i=a;this.b=this.g=!1;this.f=null}function N(a){return\"\\n  \"+a.toString().split(\"\\n\").join(\"\\n  \")}function rb(a,b){a.g=b}function sb(a,b){a.b=b}function O(a,b){a=a.a(b);return a instanceof I?+pb(a):+a}function P(a,b){a=a.a(b);return a instanceof I?pb(a):\"\"+a}function tb(a,b){a=a.a(b);return a instanceof I?!!a.l:!!a};function ub(a,b,c){M.call(this,a.i);this.c=a;this.h=b;this.o=c;this.g=b.g||c.g;this.b=b.b||c.b;this.c==vb&&(c.b||c.g||4==c.i||0==c.i||!b.f?b.b||b.g||4==b.i||0==b.i||!c.f||(this.f={name:c.f.name,u:b}):this.f={name:b.f.name,u:c})}t(ub,M);\nfunction wb(a,b,c,d,e){b=b.a(d);c=c.a(d);var f;if(b instanceof I&&c instanceof I){b=K(b);for(d=L(b);d;d=L(b))for(e=K(c),f=L(e);f;f=L(e))if(a(E(d),E(f)))return!0;return!1}if(b instanceof I||c instanceof I){b instanceof I?(e=b,d=c):(e=c,d=b);f=K(e);for(var g=typeof d,h=L(f);h;h=L(f)){switch(g){case \"number\":h=+E(h);break;case \"boolean\":h=!!E(h);break;case \"string\":h=E(h);break;default:throw Error(\"Illegal primitive type for comparison.\");}if(e==b&&a(h,d)||e==c&&a(d,h))return!0}return!1}return e?\"boolean\"==\ntypeof b||\"boolean\"==typeof c?a(!!b,!!c):\"number\"==typeof b||\"number\"==typeof c?a(+b,+c):a(b,c):a(+b,+c)}ub.prototype.a=function(a){return this.c.m(this.h,this.o,a)};ub.prototype.toString=function(){var a=\"Binary Expression: \"+this.c;a+=N(this.h);return a+=N(this.o)};function xb(a,b,c,d){this.H=a;this.C=b;this.i=c;this.m=d}xb.prototype.toString=function(){return this.H};var yb={};\nfunction Q(a,b,c,d){if(yb.hasOwnProperty(a))throw Error(\"Binary operator already created: \"+a);a=new xb(a,b,c,d);return yb[a.toString()]=a}Q(\"div\",6,1,function(a,b,c){return O(a,c)/O(b,c)});Q(\"mod\",6,1,function(a,b,c){return O(a,c)%O(b,c)});Q(\"*\",6,1,function(a,b,c){return O(a,c)*O(b,c)});Q(\"+\",5,1,function(a,b,c){return O(a,c)+O(b,c)});Q(\"-\",5,1,function(a,b,c){return O(a,c)-O(b,c)});Q(\"<\",4,2,function(a,b,c){return wb(function(d,e){return d<e},a,b,c)});\nQ(\">\",4,2,function(a,b,c){return wb(function(d,e){return d>e},a,b,c)});Q(\"<=\",4,2,function(a,b,c){return wb(function(d,e){return d<=e},a,b,c)});Q(\">=\",4,2,function(a,b,c){return wb(function(d,e){return d>=e},a,b,c)});var vb=Q(\"=\",3,2,function(a,b,c){return wb(function(d,e){return d==e},a,b,c,!0)});Q(\"!=\",3,2,function(a,b,c){return wb(function(d,e){return d!=e},a,b,c,!0)});Q(\"and\",2,2,function(a,b,c){return tb(a,c)&&tb(b,c)});Q(\"or\",1,2,function(a,b,c){return tb(a,c)||tb(b,c)});function zb(a,b){if(b.a.length&&4!=a.i)throw Error(\"Primary expression must evaluate to nodeset if filter has predicate(s).\");M.call(this,a.i);this.c=a;this.h=b;this.g=a.g;this.b=a.b}t(zb,M);zb.prototype.a=function(a){a=this.c.a(a);return Ab(this.h,a)};zb.prototype.toString=function(){var a=\"Filter:\"+N(this.c);return a+=N(this.h)};function Bb(a,b){if(b.length<a.B)throw Error(\"Function \"+a.j+\" expects at least\"+a.B+\" arguments, \"+b.length+\" given\");if(null!==a.A&&b.length>a.A)throw Error(\"Function \"+a.j+\" expects at most \"+a.A+\" arguments, \"+b.length+\" given\");a.G&&u(b,function(c,d){if(4!=c.i)throw Error(\"Argument \"+d+\" to function \"+a.j+\" is not of type Nodeset: \"+c);});M.call(this,a.i);this.v=a;this.c=b;rb(this,a.g||la(b,function(c){return c.g}));sb(this,a.F&&!b.length||a.D&&!!b.length||la(b,function(c){return c.b}))}\nt(Bb,M);Bb.prototype.a=function(a){return this.v.m.apply(null,oa(a,this.c))};Bb.prototype.toString=function(){var a=\"Function: \"+this.v;if(this.c.length){var b=ka(this.c,function(c,d){return c+N(d)},\"Arguments:\");a+=N(b)}return a};function Cb(a,b,c,d,e,f,g,h){this.j=a;this.i=b;this.g=c;this.F=d;this.D=!1;this.m=e;this.B=f;this.A=l(g)?g:f;this.G=!!h}Cb.prototype.toString=function(){return this.j};var Db={};\nfunction R(a,b,c,d,e,f,g,h){if(Db.hasOwnProperty(a))throw Error(\"Function already created: \"+a+\".\");Db[a]=new Cb(a,b,c,d,e,f,g,h)}R(\"boolean\",2,!1,!1,function(a,b){return tb(b,a)},1);R(\"ceiling\",1,!1,!1,function(a,b){return Math.ceil(O(b,a))},1);R(\"concat\",3,!1,!1,function(a,b){return ka(pa(arguments,1),function(c,d){return c+P(d,a)},\"\")},2,null);R(\"contains\",2,!1,!1,function(a,b,c){b=P(b,a);a=P(c,a);return-1!=b.indexOf(a)},2);R(\"count\",1,!1,!1,function(a,b){return b.a(a).l},1,1,!0);\nR(\"false\",2,!1,!1,function(){return!1},0);R(\"floor\",1,!1,!1,function(a,b){return Math.floor(O(b,a))},1);R(\"id\",4,!1,!1,function(a,b){function c(h){if(A){var m=e.all[h];if(m){if(m.nodeType&&h==m.id)return m;if(m.length)return na(m,function(w){return h==w.id})}return null}return e.getElementById(h)}var d=a.a,e=9==d.nodeType?d:d.ownerDocument;a=P(b,a).split(/\\s+/);var f=[];u(a,function(h){h=c(h);!h||0<=ia(f,h)||f.push(h)});f.sort(Ya);var g=new I;u(f,function(h){g.add(h)});return g},1);\nR(\"lang\",2,!1,!1,function(){return!1},1);R(\"last\",1,!0,!1,function(a){if(1!=arguments.length)throw Error(\"Function last expects ()\");return a.f},0);R(\"local-name\",3,!1,!0,function(a,b){return(a=b?ob(b.a(a)):a.a)?a.localName||a.nodeName.toLowerCase():\"\"},0,1,!0);R(\"name\",3,!1,!0,function(a,b){return(a=b?ob(b.a(a)):a.a)?a.nodeName.toLowerCase():\"\"},0,1,!0);R(\"namespace-uri\",3,!0,!1,function(){return\"\"},0,1,!0);\nR(\"normalize-space\",3,!1,!0,function(a,b){return(b?P(b,a):E(a.a)).replace(/[\\s\\xa0]+/g,\" \").replace(/^\\s+|\\s+$/g,\"\")},0,1);R(\"not\",2,!1,!1,function(a,b){return!tb(b,a)},1);R(\"number\",1,!1,!0,function(a,b){return b?O(b,a):+E(a.a)},0,1);R(\"position\",1,!0,!1,function(a){return a.b},0);R(\"round\",1,!1,!1,function(a,b){return Math.round(O(b,a))},1);R(\"starts-with\",2,!1,!1,function(a,b,c){b=P(b,a);a=P(c,a);return 0==b.lastIndexOf(a,0)},2);R(\"string\",3,!1,!0,function(a,b){return b?P(b,a):E(a.a)},0,1);\nR(\"string-length\",1,!1,!0,function(a,b){return(b?P(b,a):E(a.a)).length},0,1);R(\"substring\",3,!1,!1,function(a,b,c,d){c=O(c,a);if(isNaN(c)||Infinity==c||-Infinity==c)return\"\";d=d?O(d,a):Infinity;if(isNaN(d)||-Infinity===d)return\"\";c=Math.round(c)-1;var e=Math.max(c,0);a=P(b,a);return Infinity==d?a.substring(e):a.substring(e,c+Math.round(d))},2,3);R(\"substring-after\",3,!1,!1,function(a,b,c){b=P(b,a);a=P(c,a);c=b.indexOf(a);return-1==c?\"\":b.substring(c+a.length)},2);\nR(\"substring-before\",3,!1,!1,function(a,b,c){b=P(b,a);a=P(c,a);a=b.indexOf(a);return-1==a?\"\":b.substring(0,a)},2);R(\"sum\",1,!1,!1,function(a,b){a=K(b.a(a));b=0;for(var c=L(a);c;c=L(a))b+=+E(c);return b},1,1,!0);R(\"translate\",3,!1,!1,function(a,b,c,d){b=P(b,a);c=P(c,a);var e=P(d,a);a={};for(d=0;d<c.length;d++){var f=c.charAt(d);f in a||(a[f]=e.charAt(d))}c=\"\";for(d=0;d<b.length;d++)f=b.charAt(d),c+=f in a?a[f]:f;return c},3);R(\"true\",2,!1,!1,function(){return!0},0);function J(a,b){this.h=a;this.c=l(b)?b:null;this.b=null;switch(a){case \"comment\":this.b=8;break;case \"text\":this.b=3;break;case \"processing-instruction\":this.b=7;break;case \"node\":break;default:throw Error(\"Unexpected argument\");}}function Eb(a){return\"comment\"==a||\"text\"==a||\"processing-instruction\"==a||\"node\"==a}J.prototype.a=function(a){return null===this.b||this.b==a.nodeType};J.prototype.f=function(){return this.h};\nJ.prototype.toString=function(){var a=\"Kind Test: \"+this.h;null===this.c||(a+=N(this.c));return a};function Fb(a){M.call(this,3);this.c=a.substring(1,a.length-1)}t(Fb,M);Fb.prototype.a=function(){return this.c};Fb.prototype.toString=function(){return\"Literal: \"+this.c};function fb(a,b){this.j=a.toLowerCase();a=\"*\"==this.j?\"*\":\"http://www.w3.org/1999/xhtml\";this.c=b?b.toLowerCase():a}fb.prototype.a=function(a){var b=a.nodeType;if(1!=b&&2!=b)return!1;b=l(a.localName)?a.localName:a.nodeName;return\"*\"!=this.j&&this.j!=b.toLowerCase()?!1:\"*\"==this.c?!0:this.c==(a.namespaceURI?a.namespaceURI.toLowerCase():\"http://www.w3.org/1999/xhtml\")};fb.prototype.f=function(){return this.j};\nfb.prototype.toString=function(){return\"Name Test: \"+(\"http://www.w3.org/1999/xhtml\"==this.c?\"\":this.c+\":\")+this.j};function Gb(a){M.call(this,1);this.c=a}t(Gb,M);Gb.prototype.a=function(){return this.c};Gb.prototype.toString=function(){return\"Number: \"+this.c};function Hb(a,b){M.call(this,a.i);this.h=a;this.c=b;this.g=a.g;this.b=a.b;1==this.c.length&&(a=this.c[0],a.w||a.c!=Ib||(a=a.o,\"*\"!=a.f()&&(this.f={name:a.f(),u:null})))}t(Hb,M);function Jb(){M.call(this,4)}t(Jb,M);Jb.prototype.a=function(a){var b=new I;a=a.a;9==a.nodeType?b.add(a):b.add(a.ownerDocument);return b};Jb.prototype.toString=function(){return\"Root Helper Expression\"};function Kb(){M.call(this,4)}t(Kb,M);Kb.prototype.a=function(a){var b=new I;b.add(a.a);return b};Kb.prototype.toString=function(){return\"Context Helper Expression\"};\nfunction Lb(a){return\"/\"==a||\"//\"==a}Hb.prototype.a=function(a){var b=this.h.a(a);if(!(b instanceof I))throw Error(\"Filter expression must evaluate to nodeset.\");a=this.c;for(var c=0,d=a.length;c<d&&b.l;c++){var e=a[c],f=K(b,e.c.s);if(e.g||e.c!=Mb)if(e.g||e.c!=Nb){var g=L(f);for(b=e.a(new ha(g));null!=(g=L(f));)g=e.a(new ha(g)),b=mb(b,g)}else g=L(f),b=e.a(new ha(g));else{for(g=L(f);(b=L(f))&&(!g.contains||g.contains(b))&&b.compareDocumentPosition(g)&8;g=b);b=e.a(new ha(g))}}return b};\nHb.prototype.toString=function(){var a=\"Path Expression:\"+N(this.h);if(this.c.length){var b=ka(this.c,function(c,d){return c+N(d)},\"Steps:\");a+=N(b)}return a};function Ob(a,b){this.a=a;this.s=!!b}\nfunction Ab(a,b,c){for(c=c||0;c<a.a.length;c++)for(var d=a.a[c],e=K(b),f=b.l,g,h=0;g=L(e);h++){var m=a.s?f-h:h+1;g=d.a(new ha(g,m,f));if(\"number\"==typeof g)m=m==g;else if(\"string\"==typeof g||\"boolean\"==typeof g)m=!!g;else if(g instanceof I)m=0<g.l;else throw Error(\"Predicate.evaluate returned an unexpected type.\");if(!m){m=e;g=m.f;var w=m.a;if(!w)throw Error(\"Next must be called at least once before remove.\");var r=w.b;w=w.a;r?r.a=w:g.a=w;w?w.b=r:g.b=r;g.l--;m.a=null}}return b}\nOb.prototype.toString=function(){return ka(this.a,function(a,b){return a+N(b)},\"Predicates:\")};function Pb(a,b,c,d){M.call(this,4);this.c=a;this.o=b;this.h=c||new Ob([]);this.w=!!d;b=this.h;b=0<b.a.length?b.a[0].f:null;a.I&&b&&(a=b.name,a=A?a.toLowerCase():a,this.f={name:a,u:b.u});a:{a=this.h;for(b=0;b<a.a.length;b++)if(c=a.a[b],c.g||1==c.i||0==c.i){a=!0;break a}a=!1}this.g=a}t(Pb,M);\nPb.prototype.a=function(a){var b=a.a,c=this.f,d=null,e=null,f=0;c&&(d=c.name,e=c.u?P(c.u,a):null,f=1);if(this.w)if(this.g||this.c!=Qb)if(b=K((new Pb(Rb,new J(\"node\"))).a(a)),c=L(b))for(a=this.m(c,d,e,f);null!=(c=L(b));)a=mb(a,this.m(c,d,e,f));else a=new I;else a=cb(this.o,b,d,e),a=Ab(this.h,a,f);else a=this.m(a.a,d,e,f);return a};Pb.prototype.m=function(a,b,c,d){a=this.c.v(this.o,a,b,c);return a=Ab(this.h,a,d)};\nPb.prototype.toString=function(){var a=\"Step:\"+N(\"Operator: \"+(this.w?\"//\":\"/\"));this.c.j&&(a+=N(\"Axis: \"+this.c));a+=N(this.o);if(this.h.a.length){var b=ka(this.h.a,function(c,d){return c+N(d)},\"Predicates:\");a+=N(b)}return a};function Sb(a,b,c,d){this.j=a;this.v=b;this.s=c;this.I=d}Sb.prototype.toString=function(){return this.j};var Tb={};function S(a,b,c,d){if(Tb.hasOwnProperty(a))throw Error(\"Axis already created: \"+a);b=new Sb(a,b,c,!!d);return Tb[a]=b}\nS(\"ancestor\",function(a,b){for(var c=new I;b=b.parentNode;)a.a(b)&&nb(c,b);return c},!0);S(\"ancestor-or-self\",function(a,b){var c=new I;do a.a(b)&&nb(c,b);while(b=b.parentNode);return c},!0);\nvar Ib=S(\"attribute\",function(a,b){var c=new I,d=a.f();if(\"style\"==d&&A&&b.style)return c.add(new Oa(b.style,b,\"style\",b.style.cssText)),c;var e=b.attributes;if(e)if(a instanceof J&&null===a.b||\"*\"==d)for(a=0;d=e[a];a++)A?d.nodeValue&&c.add(Pa(b,d)):c.add(d);else(d=e.getNamedItem(d))&&(A?d.nodeValue&&c.add(Pa(b,d)):c.add(d));return c},!1),Qb=S(\"child\",function(a,b,c,d,e){return(A?ib:jb).call(null,a,b,n(c)?c:null,n(d)?d:null,e||new I)},!1,!0);S(\"descendant\",cb,!1,!0);\nvar Rb=S(\"descendant-or-self\",function(a,b,c,d){var e=new I;H(b,c,d)&&a.a(b)&&e.add(b);return cb(a,b,c,d,e)},!1,!0),Mb=S(\"following\",function(a,b,c,d){var e=new I;do for(var f=b;f=f.nextSibling;)H(f,c,d)&&a.a(f)&&e.add(f),e=cb(a,f,c,d,e);while(b=b.parentNode);return e},!1,!0);S(\"following-sibling\",function(a,b){for(var c=new I;b=b.nextSibling;)a.a(b)&&c.add(b);return c},!1);S(\"namespace\",function(){return new I},!1);\nvar Ub=S(\"parent\",function(a,b){var c=new I;if(9==b.nodeType)return c;if(2==b.nodeType)return c.add(b.ownerElement),c;b=b.parentNode;a.a(b)&&c.add(b);return c},!1),Nb=S(\"preceding\",function(a,b,c,d){var e=new I,f=[];do f.unshift(b);while(b=b.parentNode);for(var g=1,h=f.length;g<h;g++){var m=[];for(b=f[g];b=b.previousSibling;)m.unshift(b);for(var w=0,r=m.length;w<r;w++)b=m[w],H(b,c,d)&&a.a(b)&&e.add(b),e=cb(a,b,c,d,e)}return e},!0,!0);\nS(\"preceding-sibling\",function(a,b){for(var c=new I;b=b.previousSibling;)a.a(b)&&nb(c,b);return c},!0);var Vb=S(\"self\",function(a,b){var c=new I;a.a(b)&&c.add(b);return c},!1);function Wb(a){M.call(this,1);this.c=a;this.g=a.g;this.b=a.b}t(Wb,M);Wb.prototype.a=function(a){return-O(this.c,a)};Wb.prototype.toString=function(){return\"Unary Expression: -\"+N(this.c)};function Xb(a){M.call(this,4);this.c=a;rb(this,la(this.c,function(b){return b.g}));sb(this,la(this.c,function(b){return b.b}))}t(Xb,M);Xb.prototype.a=function(a){var b=new I;u(this.c,function(c){c=c.a(a);if(!(c instanceof I))throw Error(\"Path expression must evaluate to NodeSet.\");b=mb(b,c)});return b};Xb.prototype.toString=function(){return ka(this.c,function(a,b){return a+N(b)},\"Union Expression:\")};function Yb(a,b){this.a=a;this.b=b}function Zb(a){for(var b,c=[];;){T(a,\"Missing right hand side of binary expression.\");b=$b(a);var d=C(a.a);if(!d)break;var e=(d=yb[d]||null)&&d.C;if(!e){a.a.a--;break}for(;c.length&&e<=c[c.length-1].C;)b=new ub(c.pop(),c.pop(),b);c.push(b,d)}for(;c.length;)b=new ub(c.pop(),c.pop(),b);return b}function T(a,b){if(Ua(a.a))throw Error(b);}function ac(a,b){a=C(a.a);if(a!=b)throw Error(\"Bad token, expected: \"+b+\" got: \"+a);}\nfunction dc(a){a=C(a.a);if(\")\"!=a)throw Error(\"Bad token: \"+a);}function ec(a){a=C(a.a);if(2>a.length)throw Error(\"Unclosed literal string\");return new Fb(a)}\nfunction fc(a){var b=[];if(Lb(B(a.a))){var c=C(a.a);var d=B(a.a);if(\"/\"==c&&(Ua(a.a)||\".\"!=d&&\"..\"!=d&&\"@\"!=d&&\"*\"!=d&&!/(?![0-9])[\\w]/.test(d)))return new Jb;d=new Jb;T(a,\"Missing next location step.\");c=gc(a,c);b.push(c)}else{a:{c=B(a.a);d=c.charAt(0);switch(d){case \"$\":throw Error(\"Variable reference not allowed in HTML XPath\");case \"(\":C(a.a);c=Zb(a);T(a,'unclosed \"(\"');ac(a,\")\");break;case '\"':case \"'\":c=ec(a);break;default:if(isNaN(+c))if(!Eb(c)&&/(?![0-9])[\\w]/.test(d)&&\"(\"==B(a.a,1)){c=C(a.a);\nc=Db[c]||null;C(a.a);for(d=[];\")\"!=B(a.a);){T(a,\"Missing function argument list.\");d.push(Zb(a));if(\",\"!=B(a.a))break;C(a.a)}T(a,\"Unclosed function argument list.\");dc(a);c=new Bb(c,d)}else{c=null;break a}else c=new Gb(+C(a.a))}\"[\"==B(a.a)&&(d=new Ob(hc(a)),c=new zb(c,d))}if(c)if(Lb(B(a.a)))d=c;else return c;else c=gc(a,\"/\"),d=new Kb,b.push(c)}for(;Lb(B(a.a));)c=C(a.a),T(a,\"Missing next location step.\"),c=gc(a,c),b.push(c);return new Hb(d,b)}\nfunction gc(a,b){if(\"/\"!=b&&\"//\"!=b)throw Error('Step op should be \"/\" or \"//\"');if(\".\"==B(a.a)){var c=new Pb(Vb,new J(\"node\"));C(a.a);return c}if(\"..\"==B(a.a))return c=new Pb(Ub,new J(\"node\")),C(a.a),c;if(\"@\"==B(a.a)){var d=Ib;C(a.a);T(a,\"Missing attribute name\")}else if(\"::\"==B(a.a,1)){if(!/(?![0-9])[\\w]/.test(B(a.a).charAt(0)))throw Error(\"Bad token: \"+C(a.a));var e=C(a.a);d=Tb[e]||null;if(!d)throw Error(\"No axis with name: \"+e);C(a.a);T(a,\"Missing node name\")}else d=Qb;e=B(a.a);if(/(?![0-9])[\\w\\*]/.test(e.charAt(0)))if(\"(\"==\nB(a.a,1)){if(!Eb(e))throw Error(\"Invalid node type: \"+e);e=C(a.a);if(!Eb(e))throw Error(\"Invalid type name: \"+e);ac(a,\"(\");T(a,\"Bad nodetype\");var f=B(a.a).charAt(0),g=null;if('\"'==f||\"'\"==f)g=ec(a);T(a,\"Bad nodetype\");dc(a);e=new J(e,g)}else if(e=C(a.a),f=e.indexOf(\":\"),-1==f)e=new fb(e);else{g=e.substring(0,f);if(\"*\"==g)var h=\"*\";else if(h=a.b(g),!h)throw Error(\"Namespace prefix not declared: \"+g);e=e.substr(f+1);e=new fb(e,h)}else throw Error(\"Bad token: \"+C(a.a));a=new Ob(hc(a),d.s);return c||\nnew Pb(d,e,a,\"//\"==b)}function hc(a){for(var b=[];\"[\"==B(a.a);){C(a.a);T(a,\"Missing predicate expression.\");var c=Zb(a);b.push(c);T(a,\"Unclosed predicate expression.\");ac(a,\"]\")}return b}function $b(a){if(\"-\"==B(a.a))return C(a.a),new Wb($b(a));var b=fc(a);if(\"|\"!=B(a.a))a=b;else{for(b=[b];\"|\"==C(a.a);)T(a,\"Missing next union location path.\"),b.push(fc(a));a.a.a--;a=new Xb(b)}return a};function ic(a){switch(a.nodeType){case 1:return fa(jc,a);case 9:return ic(a.documentElement);case 11:case 10:case 6:case 12:return kc;default:return a.parentNode?ic(a.parentNode):kc}}function kc(){return null}function jc(a,b){if(a.prefix==b)return a.namespaceURI||\"http://www.w3.org/1999/xhtml\";var c=a.getAttributeNode(\"xmlns:\"+b);return c&&c.specified?c.value||null:a.parentNode&&9!=a.parentNode.nodeType?jc(a.parentNode,b):null};function lc(a,b){if(!a.length)throw Error(\"Empty XPath expression.\");a=Ra(a);if(Ua(a))throw Error(\"Invalid XPath expression.\");b?\"function\"==ba(b)||(b=ea(b.lookupNamespaceURI,b)):b=function(){return null};var c=Zb(new Yb(a,b));if(!Ua(a))throw Error(\"Bad token: \"+C(a));this.evaluate=function(d,e){d=c.a(new ha(d));return new U(d,e)}}\nfunction U(a,b){if(0==b)if(a instanceof I)b=4;else if(\"string\"==typeof a)b=2;else if(\"number\"==typeof a)b=1;else if(\"boolean\"==typeof a)b=3;else throw Error(\"Unexpected evaluation result.\");if(2!=b&&1!=b&&3!=b&&!(a instanceof I))throw Error(\"value could not be converted to the specified type\");this.resultType=b;switch(b){case 2:this.stringValue=a instanceof I?pb(a):\"\"+a;break;case 1:this.numberValue=a instanceof I?+pb(a):+a;break;case 3:this.booleanValue=a instanceof I?0<a.l:!!a;break;case 4:case 5:case 6:case 7:var c=\nK(a);var d=[];for(var e=L(c);e;e=L(c))d.push(e instanceof Oa?e.a:e);this.snapshotLength=a.l;this.invalidIteratorState=!1;break;case 8:case 9:a=ob(a);this.singleNodeValue=a instanceof Oa?a.a:a;break;default:throw Error(\"Unknown XPathResult type.\");}var f=0;this.iterateNext=function(){if(4!=b&&5!=b)throw Error(\"iterateNext called with wrong result type\");return f>=d.length?null:d[f++]};this.snapshotItem=function(g){if(6!=b&&7!=b)throw Error(\"snapshotItem called with wrong result type\");return g>=d.length||\n0>g?null:d[g]}}U.ANY_TYPE=0;U.NUMBER_TYPE=1;U.STRING_TYPE=2;U.BOOLEAN_TYPE=3;U.UNORDERED_NODE_ITERATOR_TYPE=4;U.ORDERED_NODE_ITERATOR_TYPE=5;U.UNORDERED_NODE_SNAPSHOT_TYPE=6;U.ORDERED_NODE_SNAPSHOT_TYPE=7;U.ANY_UNORDERED_NODE_TYPE=8;U.FIRST_ORDERED_NODE_TYPE=9;function mc(a){this.lookupNamespaceURI=ic(a)}\nfunction nc(a,b){a=a||k;var c=a.Document&&a.Document.prototype||a.document;if(!c.evaluate||b)a.XPathResult=U,c.evaluate=function(d,e,f,g){return(new lc(d,f)).evaluate(e,g)},c.createExpression=function(d,e){return new lc(d,e)},c.createNSResolver=function(d){return new mc(d)}}aa(\"wgxpath.install\",nc);aa(\"wgxpath.install\",nc);var oc={aliceblue:\"#f0f8ff\",antiquewhite:\"#faebd7\",aqua:\"#00ffff\",aquamarine:\"#7fffd4\",azure:\"#f0ffff\",beige:\"#f5f5dc\",bisque:\"#ffe4c4\",black:\"#000000\",blanchedalmond:\"#ffebcd\",blue:\"#0000ff\",blueviolet:\"#8a2be2\",brown:\"#a52a2a\",burlywood:\"#deb887\",cadetblue:\"#5f9ea0\",chartreuse:\"#7fff00\",chocolate:\"#d2691e\",coral:\"#ff7f50\",cornflowerblue:\"#6495ed\",cornsilk:\"#fff8dc\",crimson:\"#dc143c\",cyan:\"#00ffff\",darkblue:\"#00008b\",darkcyan:\"#008b8b\",darkgoldenrod:\"#b8860b\",darkgray:\"#a9a9a9\",darkgreen:\"#006400\",\ndarkgrey:\"#a9a9a9\",darkkhaki:\"#bdb76b\",darkmagenta:\"#8b008b\",darkolivegreen:\"#556b2f\",darkorange:\"#ff8c00\",darkorchid:\"#9932cc\",darkred:\"#8b0000\",darksalmon:\"#e9967a\",darkseagreen:\"#8fbc8f\",darkslateblue:\"#483d8b\",darkslategray:\"#2f4f4f\",darkslategrey:\"#2f4f4f\",darkturquoise:\"#00ced1\",darkviolet:\"#9400d3\",deeppink:\"#ff1493\",deepskyblue:\"#00bfff\",dimgray:\"#696969\",dimgrey:\"#696969\",dodgerblue:\"#1e90ff\",firebrick:\"#b22222\",floralwhite:\"#fffaf0\",forestgreen:\"#228b22\",fuchsia:\"#ff00ff\",gainsboro:\"#dcdcdc\",\nghostwhite:\"#f8f8ff\",gold:\"#ffd700\",goldenrod:\"#daa520\",gray:\"#808080\",green:\"#008000\",greenyellow:\"#adff2f\",grey:\"#808080\",honeydew:\"#f0fff0\",hotpink:\"#ff69b4\",indianred:\"#cd5c5c\",indigo:\"#4b0082\",ivory:\"#fffff0\",khaki:\"#f0e68c\",lavender:\"#e6e6fa\",lavenderblush:\"#fff0f5\",lawngreen:\"#7cfc00\",lemonchiffon:\"#fffacd\",lightblue:\"#add8e6\",lightcoral:\"#f08080\",lightcyan:\"#e0ffff\",lightgoldenrodyellow:\"#fafad2\",lightgray:\"#d3d3d3\",lightgreen:\"#90ee90\",lightgrey:\"#d3d3d3\",lightpink:\"#ffb6c1\",lightsalmon:\"#ffa07a\",\nlightseagreen:\"#20b2aa\",lightskyblue:\"#87cefa\",lightslategray:\"#778899\",lightslategrey:\"#778899\",lightsteelblue:\"#b0c4de\",lightyellow:\"#ffffe0\",lime:\"#00ff00\",limegreen:\"#32cd32\",linen:\"#faf0e6\",magenta:\"#ff00ff\",maroon:\"#800000\",mediumaquamarine:\"#66cdaa\",mediumblue:\"#0000cd\",mediumorchid:\"#ba55d3\",mediumpurple:\"#9370db\",mediumseagreen:\"#3cb371\",mediumslateblue:\"#7b68ee\",mediumspringgreen:\"#00fa9a\",mediumturquoise:\"#48d1cc\",mediumvioletred:\"#c71585\",midnightblue:\"#191970\",mintcream:\"#f5fffa\",mistyrose:\"#ffe4e1\",\nmoccasin:\"#ffe4b5\",navajowhite:\"#ffdead\",navy:\"#000080\",oldlace:\"#fdf5e6\",olive:\"#808000\",olivedrab:\"#6b8e23\",orange:\"#ffa500\",orangered:\"#ff4500\",orchid:\"#da70d6\",palegoldenrod:\"#eee8aa\",palegreen:\"#98fb98\",paleturquoise:\"#afeeee\",palevioletred:\"#db7093\",papayawhip:\"#ffefd5\",peachpuff:\"#ffdab9\",peru:\"#cd853f\",pink:\"#ffc0cb\",plum:\"#dda0dd\",powderblue:\"#b0e0e6\",purple:\"#800080\",red:\"#ff0000\",rosybrown:\"#bc8f8f\",royalblue:\"#4169e1\",saddlebrown:\"#8b4513\",salmon:\"#fa8072\",sandybrown:\"#f4a460\",seagreen:\"#2e8b57\",\nseashell:\"#fff5ee\",sienna:\"#a0522d\",silver:\"#c0c0c0\",skyblue:\"#87ceeb\",slateblue:\"#6a5acd\",slategray:\"#708090\",slategrey:\"#708090\",snow:\"#fffafa\",springgreen:\"#00ff7f\",steelblue:\"#4682b4\",tan:\"#d2b48c\",teal:\"#008080\",thistle:\"#d8bfd8\",tomato:\"#ff6347\",turquoise:\"#40e0d0\",violet:\"#ee82ee\",wheat:\"#f5deb3\",white:\"#ffffff\",whitesmoke:\"#f5f5f5\",yellow:\"#ffff00\",yellowgreen:\"#9acd32\"};var pc=\"backgroundColor borderTopColor borderRightColor borderBottomColor borderLeftColor color outlineColor\".split(\" \"),qc=/#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])/,rc=/^#(?:[0-9a-f]{3}){1,2}$/i,sc=/^(?:rgba)?\\((\\d{1,3}),\\s?(\\d{1,3}),\\s?(\\d{1,3}),\\s?(0|1|0\\.\\d*)\\)$/i,tc=/^(?:rgb)?\\((0|[1-9]\\d{0,2}),\\s?(0|[1-9]\\d{0,2}),\\s?(0|[1-9]\\d{0,2})\\)$/i;function uc(a,b){this.code=a;this.a=V[a]||vc;this.message=b||\"\";a=this.a.replace(/((?:^|\\s+)[a-z])/g,function(c){return c.toUpperCase().replace(/^[\\s\\xa0]+/g,\"\")});b=a.length-5;if(0>b||a.indexOf(\"Error\",b)!=b)a+=\"Error\";this.name=a;a=Error(this.message);a.name=this.name;this.stack=a.stack||\"\"}t(uc,Error);var vc=\"unknown error\",V={15:\"element not selectable\",11:\"element not visible\"};V[31]=vc;V[30]=vc;V[24]=\"invalid cookie domain\";V[29]=\"invalid element coordinates\";V[12]=\"invalid element state\";\nV[32]=\"invalid selector\";V[51]=\"invalid selector\";V[52]=\"invalid selector\";V[17]=\"javascript error\";V[405]=\"unsupported operation\";V[34]=\"move target out of bounds\";V[27]=\"no such alert\";V[7]=\"no such element\";V[8]=\"no such frame\";V[23]=\"no such window\";V[28]=\"script timeout\";V[33]=\"session not created\";V[10]=\"stale element reference\";V[21]=\"timeout\";V[25]=\"unable to set cookie\";V[26]=\"unexpected alert open\";V[13]=vc;V[9]=\"unknown command\";var wc=ua(),xc=ya()||y(\"iPod\"),yc=y(\"iPad\"),zc=y(\"Android\")&&!(va()||ua()||y(\"Opera\")||y(\"Silk\")),Ac=va(),Bc=y(\"Safari\")&&!(va()||y(\"Coast\")||y(\"Opera\")||y(\"Edge\")||ua()||y(\"Silk\")||y(\"Android\"))&&!(ya()||y(\"iPad\")||y(\"iPod\"));function Cc(a){return(a=a.exec(v))?a[1]:\"\"}(function(){if(wc)return Cc(/Firefox\\/([0-9.]+)/);if(z||Ca||Ba)return Ga;if(Ac)return ya()||y(\"iPad\")||y(\"iPod\")?Cc(/CriOS\\/([0-9.]+)/):Cc(/Chrome\\/([0-9.]+)/);if(Bc&&!(ya()||y(\"iPad\")||y(\"iPod\")))return Cc(/Version\\/([0-9.]+)/);if(xc||yc){var a=/Version\\/(\\S+).*Mobile\\/(\\S+)/.exec(v);if(a)return a[1]+\".\"+a[2]}else if(zc)return(a=Cc(/Android\\s+([0-9.]+)/))?a:Cc(/Version\\/([0-9.]+)/);return\"\"})();var Dc,Ec=function(){if(!Da)return!1;var a=k.Components;if(!a)return!1;try{if(!a.classes)return!1}catch(e){return!1}var b=a.classes;a=a.interfaces;var c=b[\"@mozilla.org/xpcom/version-comparator;1\"].getService(a.nsIVersionComparator),d=b[\"@mozilla.org/xre/app-info;1\"].getService(a.nsIXULAppInfo).version;Dc=function(e){c.compare(d,\"\"+e)};return!0}(),Fc=z&&!(9<=Number(La));zc&&Ec&&Dc(2.3);zc&&Ec&&Dc(4);Bc&&Ec&&Dc(6);function W(a,b){b&&\"string\"!==typeof b&&(b=b.toString());return!!a&&1==a.nodeType&&(!b||a.tagName.toUpperCase()==b)};var Gc=function(){var a={J:\"http://www.w3.org/2000/svg\"};return function(b){return a[b]||null}}();\nfunction Hc(a,b){var c=D(a);if(!c.documentElement)return null;(z||zc)&&nc(c?c.parentWindow||c.defaultView:window);try{var d=c.createNSResolver?c.createNSResolver(c.documentElement):Gc;if(z&&!Ka(7))return c.evaluate.call(c,b,a,d,9,null);if(!z||9<=Number(La)){for(var e={},f=c.getElementsByTagName(\"*\"),g=0;g<f.length;++g){var h=f[g],m=h.namespaceURI;if(m&&!e[m]){var w=h.lookupPrefix(m);if(!w){var r=m.match(\".*/(\\\\w+)/?$\");w=r?r[1]:\"xhtml\"}e[m]=w}}var x={},F;for(F in e)x[e[F]]=F;d=function(G){return x[G]||\nnull}}try{return c.evaluate(b,a,d,9,null)}catch(G){if(\"TypeError\"===G.name)return d=c.createNSResolver?c.createNSResolver(c.documentElement):Gc,c.evaluate(b,a,d,9,null);throw G;}}catch(G){if(!Da||\"NS_ERROR_ILLEGAL_VALUE\"!=G.name)throw new uc(32,\"Unable to locate an element with the xpath expression \"+b+\" because of the following error:\\n\"+G);}}\nfunction Ic(a,b){var c=function(){var d=Hc(b,a);return d?d.singleNodeValue||null:b.selectSingleNode?(d=D(b),d.setProperty&&d.setProperty(\"SelectionLanguage\",\"XPath\"),b.selectSingleNode(a)):null}();if(null!==c&&(!c||1!=c.nodeType))throw new uc(32,'The result of the xpath expression \"'+a+'\" is: '+c+\". It should be an element.\");return c};function Jc(a,b,c,d){this.c=a;this.a=b;this.b=c;this.f=d}Jc.prototype.ceil=function(){this.c=Math.ceil(this.c);this.a=Math.ceil(this.a);this.b=Math.ceil(this.b);this.f=Math.ceil(this.f);return this};Jc.prototype.floor=function(){this.c=Math.floor(this.c);this.a=Math.floor(this.a);this.b=Math.floor(this.b);this.f=Math.floor(this.f);return this};Jc.prototype.round=function(){this.c=Math.round(this.c);this.a=Math.round(this.a);this.b=Math.round(this.b);this.f=Math.round(this.f);return this};function X(a,b,c,d){this.a=a;this.b=b;this.width=c;this.height=d}X.prototype.ceil=function(){this.a=Math.ceil(this.a);this.b=Math.ceil(this.b);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};X.prototype.floor=function(){this.a=Math.floor(this.a);this.b=Math.floor(this.b);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};\nX.prototype.round=function(){this.a=Math.round(this.a);this.b=Math.round(this.b);this.width=Math.round(this.width);this.height=Math.round(this.height);return this};var Kc=\"function\"===typeof ShadowRoot;function Lc(a){for(a=a.parentNode;a&&1!=a.nodeType&&9!=a.nodeType&&11!=a.nodeType;)a=a.parentNode;return W(a)?a:null}\nfunction Y(a,b){b=wa(b);if(\"float\"==b||\"cssFloat\"==b||\"styleFloat\"==b)b=Fc?\"styleFloat\":\"cssFloat\";a:{var c=b;var d=D(a);if(d.defaultView&&d.defaultView.getComputedStyle&&(d=d.defaultView.getComputedStyle(a,null))){c=d[c]||d.getPropertyValue(c)||\"\";break a}c=\"\"}a=c||Mc(a,b);if(null===a)a=null;else if(0<=ia(pc,b)){b:{var e=a.match(sc);if(e&&(b=Number(e[1]),c=Number(e[2]),d=Number(e[3]),e=Number(e[4]),0<=b&&255>=b&&0<=c&&255>=c&&0<=d&&255>=d&&0<=e&&1>=e)){b=[b,c,d,e];break b}b=null}if(!b)b:{if(d=a.match(tc))if(b=\nNumber(d[1]),c=Number(d[2]),d=Number(d[3]),0<=b&&255>=b&&0<=c&&255>=c&&0<=d&&255>=d){b=[b,c,d,1];break b}b=null}if(!b)b:{b=a.toLowerCase();c=oc[b.toLowerCase()];if(!c&&(c=\"#\"==b.charAt(0)?b:\"#\"+b,4==c.length&&(c=c.replace(qc,\"#$1$1$2$2$3$3\")),!rc.test(c))){b=null;break b}b=[parseInt(c.substr(1,2),16),parseInt(c.substr(3,2),16),parseInt(c.substr(5,2),16),1]}a=b?\"rgba(\"+b.join(\", \")+\")\":a}return a}\nfunction Mc(a,b){var c=a.currentStyle||a.style,d=c[b];!l(d)&&\"function\"==ba(c.getPropertyValue)&&(d=c.getPropertyValue(b));return\"inherit\"!=d?l(d)?d:null:(a=Lc(a))?Mc(a,b):null}\nfunction Nc(a,b,c){function d(g){var h=Oc(g);return 0<h.height&&0<h.width?!0:W(g,\"PATH\")&&(0<h.height||0<h.width)?(g=Y(g,\"stroke-width\"),!!g&&0<parseInt(g,10)):\"hidden\"!=Y(g,\"overflow\")&&la(g.childNodes,function(m){return 3==m.nodeType||W(m)&&d(m)})}function e(g){return Pc(g)==Z&&ma(g.childNodes,function(h){return!W(h)||e(h)||!d(h)})}if(!W(a))throw Error(\"Argument to isShown must be of type Element\");if(W(a,\"BODY\"))return!0;var f=Lc(a);if(f&&W(f,\"DETAILS\")&&!f.open&&!W(a,\"SUMMARY\"))return!1;if(W(a,\n\"OPTION\")||W(a,\"OPTGROUP\"))return a=ab(a,function(g){return W(g,\"SELECT\")}),!!a&&Nc(a,!0,c);if(f=Qc(a))return!!f.image&&0<f.rect.width&&0<f.rect.height&&Nc(f.image,b,c);if(W(a,\"INPUT\")&&\"hidden\"==a.type.toLowerCase()||W(a,\"NOSCRIPT\"))return!1;f=Y(a,\"visibility\");return\"collapse\"!=f&&\"hidden\"!=f&&c(a)&&(b||0!=Rc(a))&&d(a)?!e(a):!1}var Z=\"hidden\";\nfunction Pc(a){function b(p){function q(kb){if(kb==g)return!0;var bc=Y(kb,\"display\");return 0==bc.lastIndexOf(\"inline\",0)||\"contents\"==bc||\"absolute\"==cc&&\"static\"==Y(kb,\"position\")?!1:!0}var cc=Y(p,\"position\");if(\"fixed\"==cc)return w=!0,p==g?null:g;for(p=Lc(p);p&&!q(p);)p=Lc(p);return p}function c(p){var q=p;if(\"visible\"==m)if(p==g&&h)q=h;else if(p==h)return{x:\"visible\",y:\"visible\"};q={x:Y(q,\"overflow-x\"),y:Y(q,\"overflow-y\")};p==g&&(q.x=\"visible\"==q.x?\"auto\":q.x,q.y=\"visible\"==q.y?\"auto\":q.y);return q}\nfunction d(p){if(p==g){var q=(new bb(f)).a;p=q.scrollingElement?q.scrollingElement:Ea||\"CSS1Compat\"!=q.compatMode?q.body||q.documentElement:q.documentElement;q=q.parentWindow||q.defaultView;p=z&&Ka(\"10\")&&q.pageYOffset!=p.scrollTop?new Va(p.scrollLeft,p.scrollTop):new Va(q.pageXOffset||p.scrollLeft,q.pageYOffset||p.scrollTop)}else p=new Va(p.scrollLeft,p.scrollTop);return p}var e=Sc(a),f=D(a),g=f.documentElement,h=f.body,m=Y(g,\"overflow\"),w;for(a=b(a);a;a=b(a)){var r=c(a);if(\"visible\"!=r.x||\"visible\"!=\nr.y){var x=Oc(a);if(0==x.width||0==x.height)return Z;if(z){var F=xa(Y(a,\"width\")),G=xa(Y(a,\"height\"));if(F!=x.width||G!=x.height)x=new X(x.a,x.b,F,G)}F=e.a<x.a;G=e.b<x.b;if(F&&\"hidden\"==r.x||G&&\"hidden\"==r.y)return Z;if(F&&\"visible\"!=r.x||G&&\"visible\"!=r.y){F=d(a);G=e.b<x.b-F.y;if(e.a<x.a-F.x&&\"visible\"!=r.x||G&&\"visible\"!=r.x)return Z;e=Pc(a);return e==Z?Z:\"scroll\"}F=e.f>=x.a+x.width;x=e.c>=x.b+x.height;if(F&&\"hidden\"==r.x||x&&\"hidden\"==r.y)return Z;if(F&&\"visible\"!=r.x||x&&\"visible\"!=r.y){if(w&&\n(r=d(a),e.f>=g.scrollWidth-r.x||e.a>=g.scrollHeight-r.y))return Z;e=Pc(a);return e==Z?Z:\"scroll\"}}}return\"none\"}\nfunction Oc(a){var b=Qc(a);if(b)return b.rect;if(W(a,\"HTML\"))return a=D(a),a=((a?a.parentWindow||a.defaultView:window)||window).document,a=\"CSS1Compat\"==a.compatMode?a.documentElement:a.body,a=new Wa(a.clientWidth,a.clientHeight),new X(0,0,a.width,a.height);try{var c=a.getBoundingClientRect()}catch(d){return new X(0,0,0,0)}b=new X(c.left,c.top,c.right-c.left,c.bottom-c.top);z&&a.ownerDocument.body&&(a=D(a),b.a-=a.documentElement.clientLeft+a.body.clientLeft,b.b-=a.documentElement.clientTop+a.body.clientTop);\nreturn b}function Qc(a){var b=W(a,\"MAP\");if(!b&&!W(a,\"AREA\"))return null;var c=b?a:W(a.parentNode,\"MAP\")?a.parentNode:null,d=null,e=null;c&&c.name&&(d=Ic('/descendant::*[@usemap = \"#'+c.name+'\"]',D(c)))&&(e=Oc(d),b||\"default\"==a.shape.toLowerCase()||(a=Tc(a),b=Math.min(Math.max(a.a,0),e.width),c=Math.min(Math.max(a.b,0),e.height),e=new X(b+e.a,c+e.b,Math.min(a.width,e.width-b),Math.min(a.height,e.height-c))));return{image:d,rect:e||new X(0,0,0,0)}}\nfunction Tc(a){var b=a.shape.toLowerCase();a=a.coords.split(\",\");if(\"rect\"==b&&4==a.length){b=a[0];var c=a[1];return new X(b,c,a[2]-b,a[3]-c)}if(\"circle\"==b&&3==a.length)return b=a[2],new X(a[0]-b,a[1]-b,2*b,2*b);if(\"poly\"==b&&2<a.length){b=a[0];c=a[1];for(var d=b,e=c,f=2;f+1<a.length;f+=2)b=Math.min(b,a[f]),d=Math.max(d,a[f]),c=Math.min(c,a[f+1]),e=Math.max(e,a[f+1]);return new X(b,c,d-b,e-c)}return new X(0,0,0,0)}function Sc(a){a=Oc(a);return new Jc(a.b,a.a+a.width,a.b+a.height,a.a)}\nfunction Rc(a){if(Fc){if(\"relative\"==Y(a,\"position\"))return 1;a=Y(a,\"filter\");return(a=a.match(/^alpha\\(opacity=(\\d*)\\)/)||a.match(/^progid:DXImageTransform.Microsoft.Alpha\\(Opacity=(\\d*)\\)/))?Number(a[1])/100:1}return Uc(a)}function Uc(a){var b=1,c=Y(a,\"opacity\");c&&(b=Number(c));(a=Lc(a))&&(b*=Uc(a));return b};aa(\"_\",function(a,b){function c(d){if(W(d)&&\"none\"==Y(d,\"display\"))return!1;var e;(e=d.parentNode)&&e.shadowRoot&&void 0!==d.assignedSlot?e=d.assignedSlot?d.assignedSlot.parentNode:null:d.getDestinationInsertionPoints&&(d=d.getDestinationInsertionPoints(),0<d.length&&(e=d[d.length-1]));if(Kc&&e instanceof ShadowRoot){if(e.host.shadowRoot!==e)return!1;e=e.host}return!e||9!=e.nodeType&&11!=e.nodeType?e&&c(e):!0}return Nc(a,!!b,c)});; return this._.apply(null,arguments);}).apply({navigator:typeof window!='undefined'?window.navigator:null,document:typeof window!='undefined'?window.document:null}, arguments);}).apply(null, arguments)","args":[{"element-6066-11e4-a52e-4f735466cecf":"63fe48b1-5d8e-0447-b148-d1d52fbf3bee","ELEMENT":"63fe48b1-5d8e-0447-b148-d1d52fbf3bee"}]}
1582667667248   Marionette  DEBUG   0 -> [0,5,"WebDriver:ExecuteScript",{"args":[{"ELEMENT":"63fe48b1-5d8e-0447-b148-d1d52fbf3bee","element-6066-11e4-a52e-4f735466cec ... ned'?window.navigator:null,document:typeof window!='undefined'?window.document:null}, arguments);}).apply(null, arguments)"}]
1582667667265   Marionette  DEBUG   0 <- [1,5,null,{"value":false}]
1582667667265   webdriver::server   DEBUG   <- 200 OK {"value":false}
1582667667471   webdriver::server   DEBUG   -> POST /session/985d0cab-c1ff-a542-b2a7-63220a95b4dd/execute/sync {"script":"return (function(){return (function(){var k=this;function l(a){return void 0!==a}function n(a){return\"string\"==typeof a}function aa(a,b){a=a.split(\".\");var c=k;a[0]in c||\"undefined\"==typeof c.execScript||c.execScript(\"var \"+a[0]);for(var d;a.length&&(d=a.shift());)!a.length&&l(b)?c[d]=b:c[d]&&c[d]!==Object.prototype[d]?c=c[d]:c=c[d]={}}\nfunction ba(a){var b=typeof a;if(\"object\"==b)if(a){if(a instanceof Array)return\"array\";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if(\"[object Window]\"==c)return\"object\";if(\"[object Array]\"==c||\"number\"==typeof a.length&&\"undefined\"!=typeof a.splice&&\"undefined\"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable(\"splice\"))return\"array\";if(\"[object Function]\"==c||\"undefined\"!=typeof a.call&&\"undefined\"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable(\"call\"))return\"function\"}else return\"null\";\nelse if(\"function\"==b&&\"undefined\"==typeof a.call)return\"object\";return b}function ca(a,b,c){return a.call.apply(a.bind,arguments)}function da(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var e=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(e,d);return a.apply(b,e)}}return function(){return a.apply(b,arguments)}}\nfunction ea(a,b,c){Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf(\"native code\")?ea=ca:ea=da;return ea.apply(null,arguments)}function fa(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var d=c.slice();d.push.apply(d,arguments);return a.apply(this,d)}}function t(a,b){function c(){}c.prototype=b.prototype;a.prototype=new c;a.prototype.constructor=a};/*\n\n The MIT License\n\n Copyright (c) 2007 Cybozu Labs, Inc.\n Copyright (c) 2012 Google Inc.\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to\n deal in the Software without restriction, including without limitation the\n rights to use, copy, modify, merge, publish, distribute, sublicense, and/or\n sell copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in\n all copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS\n IN THE SOFTWARE.\n*/\nfunction ha(a,b,c){this.a=a;this.b=b||1;this.f=c||1};var ia=Array.prototype.indexOf?function(a,b){return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if(n(a))return n(b)&&1==b.length?a.indexOf(b,0):-1;for(var c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},u=Array.prototype.forEach?function(a,b){Array.prototype.forEach.call(a,b,void 0)}:function(a,b){for(var c=a.length,d=n(a)?a.split(\"\"):a,e=0;e<c;e++)e in d&&b.call(void 0,d[e],e,a)},ja=Array.prototype.filter?function(a,b){return Array.prototype.filter.call(a,b,void 0)}:function(a,\nb){for(var c=a.length,d=[],e=0,f=n(a)?a.split(\"\"):a,g=0;g<c;g++)if(g in f){var h=f[g];b.call(void 0,h,g,a)&&(d[e++]=h)}return d},ka=Array.prototype.reduce?function(a,b,c){return Array.prototype.reduce.call(a,b,c)}:function(a,b,c){var d=c;u(a,function(e,f){d=b.call(void 0,d,e,f,a)});return d},la=Array.prototype.some?function(a,b){return Array.prototype.some.call(a,b,void 0)}:function(a,b){for(var c=a.length,d=n(a)?a.split(\"\"):a,e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a))return!0;return!1},ma=Array.prototype.every?\nfunction(a,b){return Array.prototype.every.call(a,b,void 0)}:function(a,b){for(var c=a.length,d=n(a)?a.split(\"\"):a,e=0;e<c;e++)if(e in d&&!b.call(void 0,d[e],e,a))return!1;return!0};function na(a,b){a:{for(var c=a.length,d=n(a)?a.split(\"\"):a,e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a)){b=e;break a}b=-1}return 0>b?null:n(a)?a.charAt(b):a[b]}function oa(a){return Array.prototype.concat.apply([],arguments)}\nfunction pa(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)};var qa=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\\s\\xa0]*([\\s\\S]*?)[\\s\\xa0]*$/.exec(a)[1]};function ra(a,b){return a<b?-1:a>b?1:0};var v;a:{var sa=k.navigator;if(sa){var ta=sa.userAgent;if(ta){v=ta;break a}}v=\"\"}function y(a){return-1!=v.indexOf(a)};function ua(){return y(\"Firefox\")||y(\"FxiOS\")}function va(){return(y(\"Chrome\")||y(\"CriOS\"))&&!y(\"Edge\")};function wa(a){return String(a).replace(/\\-([a-z])/g,function(b,c){return c.toUpperCase()})}function xa(a){isFinite(a)&&(a=String(a));return n(a)?/^\\s*-?0x/i.test(a)?parseInt(a,16):parseInt(a,10):NaN};function ya(){return y(\"iPhone\")&&!y(\"iPod\")&&!y(\"iPad\")};function za(a,b){var c=Aa;return Object.prototype.hasOwnProperty.call(c,a)?c[a]:c[a]=b(a)};var Ba=y(\"Opera\"),z=y(\"Trident\")||y(\"MSIE\"),Ca=y(\"Edge\"),Da=y(\"Gecko\")&&!(-1!=v.toLowerCase().indexOf(\"webkit\")&&!y(\"Edge\"))&&!(y(\"Trident\")||y(\"MSIE\"))&&!y(\"Edge\"),Ea=-1!=v.toLowerCase().indexOf(\"webkit\")&&!y(\"Edge\");function Fa(){var a=k.document;return a?a.documentMode:void 0}var Ga;\na:{var Ha=\"\",Ia=function(){var a=v;if(Da)return/rv:([^\\);]+)(\\)|;)/.exec(a);if(Ca)return/Edge\\/([\\d\\.]+)/.exec(a);if(z)return/\\b(?:MSIE|rv)[: ]([^\\);]+)(\\)|;)/.exec(a);if(Ea)return/WebKit\\/(\\S+)/.exec(a);if(Ba)return/(?:Version)[ \\/]?(\\S+)/.exec(a)}();Ia&&(Ha=Ia?Ia[1]:\"\");if(z){var Ja=Fa();if(null!=Ja&&Ja>parseFloat(Ha)){Ga=String(Ja);break a}}Ga=Ha}var Aa={};\nfunction Ka(a){return za(a,function(){for(var b=0,c=qa(String(Ga)).split(\".\"),d=qa(String(a)).split(\".\"),e=Math.max(c.length,d.length),f=0;0==b&&f<e;f++){var g=c[f]||\"\",h=d[f]||\"\";do{g=/(\\d*)(\\D*)(.*)/.exec(g)||[\"\",\"\",\"\",\"\"];h=/(\\d*)(\\D*)(.*)/.exec(h)||[\"\",\"\",\"\",\"\"];if(0==g[0].length&&0==h[0].length)break;b=ra(0==g[1].length?0:parseInt(g[1],10),0==h[1].length?0:parseInt(h[1],10))||ra(0==g[2].length,0==h[2].length)||ra(g[2],h[2]);g=g[3];h=h[3]}while(0==b)}return 0<=b})}var La;var Ma=k.document;\nLa=Ma&&z?Fa()||(\"CSS1Compat\"==Ma.compatMode?parseInt(Ga,10):5):void 0;var A=z&&!(9<=Number(La)),Na=z&&!(8<=Number(La));function Oa(a,b,c,d){this.a=a;this.nodeName=c;this.nodeValue=d;this.nodeType=2;this.parentNode=this.ownerElement=b}function Pa(a,b){var c=Na&&\"href\"==b.nodeName?a.getAttribute(b.nodeName,2):b.nodeValue;return new Oa(b,a,b.nodeName,c)};function Qa(a){this.b=a;this.a=0}function Ra(a){a=a.match(Sa);for(var b=0;b<a.length;b++)Ta.test(a[b])&&a.splice(b,1);return new Qa(a)}var Sa=/\\$?(?:(?![0-9-\\.])(?:\\*|[\\w-\\.]+):)?(?![0-9-\\.])(?:\\*|[\\w-\\.]+)|\\/\\/|\\.\\.|::|\\d+(?:\\.\\d*)?|\\.\\d+|\"[^\"]*\"|'[^']*'|[!<>]=|\\s+|./g,Ta=/^\\s/;function B(a,b){return a.b[a.a+(b||0)]}function C(a){return a.b[a.a++]}function Ua(a){return a.b.length<=a.a};function Va(a,b){this.x=l(a)?a:0;this.y=l(b)?b:0}Va.prototype.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};Va.prototype.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};Va.prototype.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};function Wa(a,b){this.width=a;this.height=b}Wa.prototype.aspectRatio=function(){return this.width/this.height};Wa.prototype.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};Wa.prototype.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};Wa.prototype.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};function Xa(a,b){if(!a||!b)return!1;if(a.contains&&1==b.nodeType)return a==b||a.contains(b);if(\"undefined\"!=typeof a.compareDocumentPosition)return a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a}\nfunction Ya(a,b){if(a==b)return 0;if(a.compareDocumentPosition)return a.compareDocumentPosition(b)&2?1:-1;if(z&&!(9<=Number(La))){if(9==a.nodeType)return-1;if(9==b.nodeType)return 1}if(\"sourceIndex\"in a||a.parentNode&&\"sourceIndex\"in a.parentNode){var c=1==a.nodeType,d=1==b.nodeType;if(c&&d)return a.sourceIndex-b.sourceIndex;var e=a.parentNode,f=b.parentNode;return e==f?Za(a,b):!c&&Xa(e,b)?-1*$a(a,b):!d&&Xa(f,a)?$a(b,a):(c?a.sourceIndex:e.sourceIndex)-(d?b.sourceIndex:f.sourceIndex)}d=D(a);c=d.createRange();\nc.selectNode(a);c.collapse(!0);a=d.createRange();a.selectNode(b);a.collapse(!0);return c.compareBoundaryPoints(k.Range.START_TO_END,a)}function $a(a,b){var c=a.parentNode;if(c==b)return-1;for(;b.parentNode!=c;)b=b.parentNode;return Za(b,a)}function Za(a,b){for(;b=b.previousSibling;)if(b==a)return-1;return 1}function D(a){return 9==a.nodeType?a:a.ownerDocument||a.document}function ab(a,b){a&&(a=a.parentNode);for(var c=0;a;){if(b(a))return a;a=a.parentNode;c++}return null}\nfunction bb(a){this.a=a||k.document||document}bb.prototype.getElementsByTagName=function(a,b){return(b||this.a).getElementsByTagName(String(a))};function E(a){var b=null,c=a.nodeType;1==c&&(b=a.textContent,b=void 0==b||null==b?a.innerText:b,b=void 0==b||null==b?\"\":b);if(\"string\"!=typeof b)if(A&&\"title\"==a.nodeName.toLowerCase()&&1==c)b=a.text;else if(9==c||1==c){a=9==c?a.documentElement:a.firstChild;c=0;var d=[];for(b=\"\";a;){do 1!=a.nodeType&&(b+=a.nodeValue),A&&\"title\"==a.nodeName.toLowerCase()&&(b+=a.text),d[c++]=a;while(a=a.firstChild);for(;c&&!(a=d[--c].nextSibling););}}else b=a.nodeValue;return b}\nfunction H(a,b,c){if(null===b)return!0;try{if(!a.getAttribute)return!1}catch(d){return!1}Na&&\"class\"==b&&(b=\"className\");return null==c?!!a.getAttribute(b):a.getAttribute(b,2)==c}function cb(a,b,c,d,e){return(A?db:eb).call(null,a,b,n(c)?c:null,n(d)?d:null,e||new I)}\nfunction db(a,b,c,d,e){if(a instanceof fb||8==a.b||c&&null===a.b){var f=b.all;if(!f)return e;a=gb(a);if(\"*\"!=a&&(f=b.getElementsByTagName(a),!f))return e;if(c){for(var g=[],h=0;b=f[h++];)H(b,c,d)&&g.push(b);f=g}for(h=0;b=f[h++];)\"*\"==a&&\"!\"==b.tagName||e.add(b);return e}hb(a,b,c,d,e);return e}\nfunction eb(a,b,c,d,e){b.getElementsByName&&d&&\"name\"==c&&!z?(b=b.getElementsByName(d),u(b,function(f){a.a(f)&&e.add(f)})):b.getElementsByClassName&&d&&\"class\"==c?(b=b.getElementsByClassName(d),u(b,function(f){f.className==d&&a.a(f)&&e.add(f)})):a instanceof J?hb(a,b,c,d,e):b.getElementsByTagName&&(b=b.getElementsByTagName(a.f()),u(b,function(f){H(f,c,d)&&e.add(f)}));return e}\nfunction ib(a,b,c,d,e){var f;if((a instanceof fb||8==a.b||c&&null===a.b)&&(f=b.childNodes)){var g=gb(a);if(\"*\"!=g&&(f=ja(f,function(h){return h.tagName&&h.tagName.toLowerCase()==g}),!f))return e;c&&(f=ja(f,function(h){return H(h,c,d)}));u(f,function(h){\"*\"==g&&(\"!\"==h.tagName||\"*\"==g&&1!=h.nodeType)||e.add(h)});return e}return jb(a,b,c,d,e)}function jb(a,b,c,d,e){for(b=b.firstChild;b;b=b.nextSibling)H(b,c,d)&&a.a(b)&&e.add(b);return e}\nfunction hb(a,b,c,d,e){for(b=b.firstChild;b;b=b.nextSibling)H(b,c,d)&&a.a(b)&&e.add(b),hb(a,b,c,d,e)}function gb(a){if(a instanceof J){if(8==a.b)return\"!\";if(null===a.b)return\"*\"}return a.f()};function I(){this.b=this.a=null;this.l=0}function lb(a){this.f=a;this.a=this.b=null}function mb(a,b){if(!a.a)return b;if(!b.a)return a;var c=a.a;b=b.a;for(var d=null,e,f=0;c&&b;){e=c.f;var g=b.f;e==g||e instanceof Oa&&g instanceof Oa&&e.a==g.a?(e=c,c=c.a,b=b.a):0<Ya(c.f,b.f)?(e=b,b=b.a):(e=c,c=c.a);(e.b=d)?d.a=e:a.a=e;d=e;f++}for(e=c||b;e;)e.b=d,d=d.a=e,f++,e=e.a;a.b=d;a.l=f;return a}function nb(a,b){b=new lb(b);b.a=a.a;a.b?a.a.b=b:a.a=a.b=b;a.a=b;a.l++}\nI.prototype.add=function(a){a=new lb(a);a.b=this.b;this.a?this.b.a=a:this.a=this.b=a;this.b=a;this.l++};function ob(a){return(a=a.a)?a.f:null}function pb(a){return(a=ob(a))?E(a):\"\"}function K(a,b){return new qb(a,!!b)}function qb(a,b){this.f=a;this.b=(this.s=b)?a.b:a.a;this.a=null}function L(a){var b=a.b;if(null==b)return null;var c=a.a=b;a.b=a.s?b.b:b.a;return c.f};function M(a){this.i=a;this.b=this.g=!1;this.f=null}function N(a){return\"\\n  \"+a.toString().split(\"\\n\").join(\"\\n  \")}function rb(a,b){a.g=b}function sb(a,b){a.b=b}function O(a,b){a=a.a(b);return a instanceof I?+pb(a):+a}function P(a,b){a=a.a(b);return a instanceof I?pb(a):\"\"+a}function tb(a,b){a=a.a(b);return a instanceof I?!!a.l:!!a};function ub(a,b,c){M.call(this,a.i);this.c=a;this.h=b;this.o=c;this.g=b.g||c.g;this.b=b.b||c.b;this.c==vb&&(c.b||c.g||4==c.i||0==c.i||!b.f?b.b||b.g||4==b.i||0==b.i||!c.f||(this.f={name:c.f.name,u:b}):this.f={name:b.f.name,u:c})}t(ub,M);\nfunction wb(a,b,c,d,e){b=b.a(d);c=c.a(d);var f;if(b instanceof I&&c instanceof I){b=K(b);for(d=L(b);d;d=L(b))for(e=K(c),f=L(e);f;f=L(e))if(a(E(d),E(f)))return!0;return!1}if(b instanceof I||c instanceof I){b instanceof I?(e=b,d=c):(e=c,d=b);f=K(e);for(var g=typeof d,h=L(f);h;h=L(f)){switch(g){case \"number\":h=+E(h);break;case \"boolean\":h=!!E(h);break;case \"string\":h=E(h);break;default:throw Error(\"Illegal primitive type for comparison.\");}if(e==b&&a(h,d)||e==c&&a(d,h))return!0}return!1}return e?\"boolean\"==\ntypeof b||\"boolean\"==typeof c?a(!!b,!!c):\"number\"==typeof b||\"number\"==typeof c?a(+b,+c):a(b,c):a(+b,+c)}ub.prototype.a=function(a){return this.c.m(this.h,this.o,a)};ub.prototype.toString=function(){var a=\"Binary Expression: \"+this.c;a+=N(this.h);return a+=N(this.o)};function xb(a,b,c,d){this.H=a;this.C=b;this.i=c;this.m=d}xb.prototype.toString=function(){return this.H};var yb={};\nfunction Q(a,b,c,d){if(yb.hasOwnProperty(a))throw Error(\"Binary operator already created: \"+a);a=new xb(a,b,c,d);return yb[a.toString()]=a}Q(\"div\",6,1,function(a,b,c){return O(a,c)/O(b,c)});Q(\"mod\",6,1,function(a,b,c){return O(a,c)%O(b,c)});Q(\"*\",6,1,function(a,b,c){return O(a,c)*O(b,c)});Q(\"+\",5,1,function(a,b,c){return O(a,c)+O(b,c)});Q(\"-\",5,1,function(a,b,c){return O(a,c)-O(b,c)});Q(\"<\",4,2,function(a,b,c){return wb(function(d,e){return d<e},a,b,c)});\nQ(\">\",4,2,function(a,b,c){return wb(function(d,e){return d>e},a,b,c)});Q(\"<=\",4,2,function(a,b,c){return wb(function(d,e){return d<=e},a,b,c)});Q(\">=\",4,2,function(a,b,c){return wb(function(d,e){return d>=e},a,b,c)});var vb=Q(\"=\",3,2,function(a,b,c){return wb(function(d,e){return d==e},a,b,c,!0)});Q(\"!=\",3,2,function(a,b,c){return wb(function(d,e){return d!=e},a,b,c,!0)});Q(\"and\",2,2,function(a,b,c){return tb(a,c)&&tb(b,c)});Q(\"or\",1,2,function(a,b,c){return tb(a,c)||tb(b,c)});function zb(a,b){if(b.a.length&&4!=a.i)throw Error(\"Primary expression must evaluate to nodeset if filter has predicate(s).\");M.call(this,a.i);this.c=a;this.h=b;this.g=a.g;this.b=a.b}t(zb,M);zb.prototype.a=function(a){a=this.c.a(a);return Ab(this.h,a)};zb.prototype.toString=function(){var a=\"Filter:\"+N(this.c);return a+=N(this.h)};function Bb(a,b){if(b.length<a.B)throw Error(\"Function \"+a.j+\" expects at least\"+a.B+\" arguments, \"+b.length+\" given\");if(null!==a.A&&b.length>a.A)throw Error(\"Function \"+a.j+\" expects at most \"+a.A+\" arguments, \"+b.length+\" given\");a.G&&u(b,function(c,d){if(4!=c.i)throw Error(\"Argument \"+d+\" to function \"+a.j+\" is not of type Nodeset: \"+c);});M.call(this,a.i);this.v=a;this.c=b;rb(this,a.g||la(b,function(c){return c.g}));sb(this,a.F&&!b.length||a.D&&!!b.length||la(b,function(c){return c.b}))}\nt(Bb,M);Bb.prototype.a=function(a){return this.v.m.apply(null,oa(a,this.c))};Bb.prototype.toString=function(){var a=\"Function: \"+this.v;if(this.c.length){var b=ka(this.c,function(c,d){return c+N(d)},\"Arguments:\");a+=N(b)}return a};function Cb(a,b,c,d,e,f,g,h){this.j=a;this.i=b;this.g=c;this.F=d;this.D=!1;this.m=e;this.B=f;this.A=l(g)?g:f;this.G=!!h}Cb.prototype.toString=function(){return this.j};var Db={};\nfunction R(a,b,c,d,e,f,g,h){if(Db.hasOwnProperty(a))throw Error(\"Function already created: \"+a+\".\");Db[a]=new Cb(a,b,c,d,e,f,g,h)}R(\"boolean\",2,!1,!1,function(a,b){return tb(b,a)},1);R(\"ceiling\",1,!1,!1,function(a,b){return Math.ceil(O(b,a))},1);R(\"concat\",3,!1,!1,function(a,b){return ka(pa(arguments,1),function(c,d){return c+P(d,a)},\"\")},2,null);R(\"contains\",2,!1,!1,function(a,b,c){b=P(b,a);a=P(c,a);return-1!=b.indexOf(a)},2);R(\"count\",1,!1,!1,function(a,b){return b.a(a).l},1,1,!0);\nR(\"false\",2,!1,!1,function(){return!1},0);R(\"floor\",1,!1,!1,function(a,b){return Math.floor(O(b,a))},1);R(\"id\",4,!1,!1,function(a,b){function c(h){if(A){var m=e.all[h];if(m){if(m.nodeType&&h==m.id)return m;if(m.length)return na(m,function(w){return h==w.id})}return null}return e.getElementById(h)}var d=a.a,e=9==d.nodeType?d:d.ownerDocument;a=P(b,a).split(/\\s+/);var f=[];u(a,function(h){h=c(h);!h||0<=ia(f,h)||f.push(h)});f.sort(Ya);var g=new I;u(f,function(h){g.add(h)});return g},1);\nR(\"lang\",2,!1,!1,function(){return!1},1);R(\"last\",1,!0,!1,function(a){if(1!=arguments.length)throw Error(\"Function last expects ()\");return a.f},0);R(\"local-name\",3,!1,!0,function(a,b){return(a=b?ob(b.a(a)):a.a)?a.localName||a.nodeName.toLowerCase():\"\"},0,1,!0);R(\"name\",3,!1,!0,function(a,b){return(a=b?ob(b.a(a)):a.a)?a.nodeName.toLowerCase():\"\"},0,1,!0);R(\"namespace-uri\",3,!0,!1,function(){return\"\"},0,1,!0);\nR(\"normalize-space\",3,!1,!0,function(a,b){return(b?P(b,a):E(a.a)).replace(/[\\s\\xa0]+/g,\" \").replace(/^\\s+|\\s+$/g,\"\")},0,1);R(\"not\",2,!1,!1,function(a,b){return!tb(b,a)},1);R(\"number\",1,!1,!0,function(a,b){return b?O(b,a):+E(a.a)},0,1);R(\"position\",1,!0,!1,function(a){return a.b},0);R(\"round\",1,!1,!1,function(a,b){return Math.round(O(b,a))},1);R(\"starts-with\",2,!1,!1,function(a,b,c){b=P(b,a);a=P(c,a);return 0==b.lastIndexOf(a,0)},2);R(\"string\",3,!1,!0,function(a,b){return b?P(b,a):E(a.a)},0,1);\nR(\"string-length\",1,!1,!0,function(a,b){return(b?P(b,a):E(a.a)).length},0,1);R(\"substring\",3,!1,!1,function(a,b,c,d){c=O(c,a);if(isNaN(c)||Infinity==c||-Infinity==c)return\"\";d=d?O(d,a):Infinity;if(isNaN(d)||-Infinity===d)return\"\";c=Math.round(c)-1;var e=Math.max(c,0);a=P(b,a);return Infinity==d?a.substring(e):a.substring(e,c+Math.round(d))},2,3);R(\"substring-after\",3,!1,!1,function(a,b,c){b=P(b,a);a=P(c,a);c=b.indexOf(a);return-1==c?\"\":b.substring(c+a.length)},2);\nR(\"substring-before\",3,!1,!1,function(a,b,c){b=P(b,a);a=P(c,a);a=b.indexOf(a);return-1==a?\"\":b.substring(0,a)},2);R(\"sum\",1,!1,!1,function(a,b){a=K(b.a(a));b=0;for(var c=L(a);c;c=L(a))b+=+E(c);return b},1,1,!0);R(\"translate\",3,!1,!1,function(a,b,c,d){b=P(b,a);c=P(c,a);var e=P(d,a);a={};for(d=0;d<c.length;d++){var f=c.charAt(d);f in a||(a[f]=e.charAt(d))}c=\"\";for(d=0;d<b.length;d++)f=b.charAt(d),c+=f in a?a[f]:f;return c},3);R(\"true\",2,!1,!1,function(){return!0},0);function J(a,b){this.h=a;this.c=l(b)?b:null;this.b=null;switch(a){case \"comment\":this.b=8;break;case \"text\":this.b=3;break;case \"processing-instruction\":this.b=7;break;case \"node\":break;default:throw Error(\"Unexpected argument\");}}function Eb(a){return\"comment\"==a||\"text\"==a||\"processing-instruction\"==a||\"node\"==a}J.prototype.a=function(a){return null===this.b||this.b==a.nodeType};J.prototype.f=function(){return this.h};\nJ.prototype.toString=function(){var a=\"Kind Test: \"+this.h;null===this.c||(a+=N(this.c));return a};function Fb(a){M.call(this,3);this.c=a.substring(1,a.length-1)}t(Fb,M);Fb.prototype.a=function(){return this.c};Fb.prototype.toString=function(){return\"Literal: \"+this.c};function fb(a,b){this.j=a.toLowerCase();a=\"*\"==this.j?\"*\":\"http://www.w3.org/1999/xhtml\";this.c=b?b.toLowerCase():a}fb.prototype.a=function(a){var b=a.nodeType;if(1!=b&&2!=b)return!1;b=l(a.localName)?a.localName:a.nodeName;return\"*\"!=this.j&&this.j!=b.toLowerCase()?!1:\"*\"==this.c?!0:this.c==(a.namespaceURI?a.namespaceURI.toLowerCase():\"http://www.w3.org/1999/xhtml\")};fb.prototype.f=function(){return this.j};\nfb.prototype.toString=function(){return\"Name Test: \"+(\"http://www.w3.org/1999/xhtml\"==this.c?\"\":this.c+\":\")+this.j};function Gb(a){M.call(this,1);this.c=a}t(Gb,M);Gb.prototype.a=function(){return this.c};Gb.prototype.toString=function(){return\"Number: \"+this.c};function Hb(a,b){M.call(this,a.i);this.h=a;this.c=b;this.g=a.g;this.b=a.b;1==this.c.length&&(a=this.c[0],a.w||a.c!=Ib||(a=a.o,\"*\"!=a.f()&&(this.f={name:a.f(),u:null})))}t(Hb,M);function Jb(){M.call(this,4)}t(Jb,M);Jb.prototype.a=function(a){var b=new I;a=a.a;9==a.nodeType?b.add(a):b.add(a.ownerDocument);return b};Jb.prototype.toString=function(){return\"Root Helper Expression\"};function Kb(){M.call(this,4)}t(Kb,M);Kb.prototype.a=function(a){var b=new I;b.add(a.a);return b};Kb.prototype.toString=function(){return\"Context Helper Expression\"};\nfunction Lb(a){return\"/\"==a||\"//\"==a}Hb.prototype.a=function(a){var b=this.h.a(a);if(!(b instanceof I))throw Error(\"Filter expression must evaluate to nodeset.\");a=this.c;for(var c=0,d=a.length;c<d&&b.l;c++){var e=a[c],f=K(b,e.c.s);if(e.g||e.c!=Mb)if(e.g||e.c!=Nb){var g=L(f);for(b=e.a(new ha(g));null!=(g=L(f));)g=e.a(new ha(g)),b=mb(b,g)}else g=L(f),b=e.a(new ha(g));else{for(g=L(f);(b=L(f))&&(!g.contains||g.contains(b))&&b.compareDocumentPosition(g)&8;g=b);b=e.a(new ha(g))}}return b};\nHb.prototype.toString=function(){var a=\"Path Expression:\"+N(this.h);if(this.c.length){var b=ka(this.c,function(c,d){return c+N(d)},\"Steps:\");a+=N(b)}return a};function Ob(a,b){this.a=a;this.s=!!b}\nfunction Ab(a,b,c){for(c=c||0;c<a.a.length;c++)for(var d=a.a[c],e=K(b),f=b.l,g,h=0;g=L(e);h++){var m=a.s?f-h:h+1;g=d.a(new ha(g,m,f));if(\"number\"==typeof g)m=m==g;else if(\"string\"==typeof g||\"boolean\"==typeof g)m=!!g;else if(g instanceof I)m=0<g.l;else throw Error(\"Predicate.evaluate returned an unexpected type.\");if(!m){m=e;g=m.f;var w=m.a;if(!w)throw Error(\"Next must be called at least once before remove.\");var r=w.b;w=w.a;r?r.a=w:g.a=w;w?w.b=r:g.b=r;g.l--;m.a=null}}return b}\nOb.prototype.toString=function(){return ka(this.a,function(a,b){return a+N(b)},\"Predicates:\")};function Pb(a,b,c,d){M.call(this,4);this.c=a;this.o=b;this.h=c||new Ob([]);this.w=!!d;b=this.h;b=0<b.a.length?b.a[0].f:null;a.I&&b&&(a=b.name,a=A?a.toLowerCase():a,this.f={name:a,u:b.u});a:{a=this.h;for(b=0;b<a.a.length;b++)if(c=a.a[b],c.g||1==c.i||0==c.i){a=!0;break a}a=!1}this.g=a}t(Pb,M);\nPb.prototype.a=function(a){var b=a.a,c=this.f,d=null,e=null,f=0;c&&(d=c.name,e=c.u?P(c.u,a):null,f=1);if(this.w)if(this.g||this.c!=Qb)if(b=K((new Pb(Rb,new J(\"node\"))).a(a)),c=L(b))for(a=this.m(c,d,e,f);null!=(c=L(b));)a=mb(a,this.m(c,d,e,f));else a=new I;else a=cb(this.o,b,d,e),a=Ab(this.h,a,f);else a=this.m(a.a,d,e,f);return a};Pb.prototype.m=function(a,b,c,d){a=this.c.v(this.o,a,b,c);return a=Ab(this.h,a,d)};\nPb.prototype.toString=function(){var a=\"Step:\"+N(\"Operator: \"+(this.w?\"//\":\"/\"));this.c.j&&(a+=N(\"Axis: \"+this.c));a+=N(this.o);if(this.h.a.length){var b=ka(this.h.a,function(c,d){return c+N(d)},\"Predicates:\");a+=N(b)}return a};function Sb(a,b,c,d){this.j=a;this.v=b;this.s=c;this.I=d}Sb.prototype.toString=function(){return this.j};var Tb={};function S(a,b,c,d){if(Tb.hasOwnProperty(a))throw Error(\"Axis already created: \"+a);b=new Sb(a,b,c,!!d);return Tb[a]=b}\nS(\"ancestor\",function(a,b){for(var c=new I;b=b.parentNode;)a.a(b)&&nb(c,b);return c},!0);S(\"ancestor-or-self\",function(a,b){var c=new I;do a.a(b)&&nb(c,b);while(b=b.parentNode);return c},!0);\nvar Ib=S(\"attribute\",function(a,b){var c=new I,d=a.f();if(\"style\"==d&&A&&b.style)return c.add(new Oa(b.style,b,\"style\",b.style.cssText)),c;var e=b.attributes;if(e)if(a instanceof J&&null===a.b||\"*\"==d)for(a=0;d=e[a];a++)A?d.nodeValue&&c.add(Pa(b,d)):c.add(d);else(d=e.getNamedItem(d))&&(A?d.nodeValue&&c.add(Pa(b,d)):c.add(d));return c},!1),Qb=S(\"child\",function(a,b,c,d,e){return(A?ib:jb).call(null,a,b,n(c)?c:null,n(d)?d:null,e||new I)},!1,!0);S(\"descendant\",cb,!1,!0);\nvar Rb=S(\"descendant-or-self\",function(a,b,c,d){var e=new I;H(b,c,d)&&a.a(b)&&e.add(b);return cb(a,b,c,d,e)},!1,!0),Mb=S(\"following\",function(a,b,c,d){var e=new I;do for(var f=b;f=f.nextSibling;)H(f,c,d)&&a.a(f)&&e.add(f),e=cb(a,f,c,d,e);while(b=b.parentNode);return e},!1,!0);S(\"following-sibling\",function(a,b){for(var c=new I;b=b.nextSibling;)a.a(b)&&c.add(b);return c},!1);S(\"namespace\",function(){return new I},!1);\nvar Ub=S(\"parent\",function(a,b){var c=new I;if(9==b.nodeType)return c;if(2==b.nodeType)return c.add(b.ownerElement),c;b=b.parentNode;a.a(b)&&c.add(b);return c},!1),Nb=S(\"preceding\",function(a,b,c,d){var e=new I,f=[];do f.unshift(b);while(b=b.parentNode);for(var g=1,h=f.length;g<h;g++){var m=[];for(b=f[g];b=b.previousSibling;)m.unshift(b);for(var w=0,r=m.length;w<r;w++)b=m[w],H(b,c,d)&&a.a(b)&&e.add(b),e=cb(a,b,c,d,e)}return e},!0,!0);\nS(\"preceding-sibling\",function(a,b){for(var c=new I;b=b.previousSibling;)a.a(b)&&nb(c,b);return c},!0);var Vb=S(\"self\",function(a,b){var c=new I;a.a(b)&&c.add(b);return c},!1);function Wb(a){M.call(this,1);this.c=a;this.g=a.g;this.b=a.b}t(Wb,M);Wb.prototype.a=function(a){return-O(this.c,a)};Wb.prototype.toString=function(){return\"Unary Expression: -\"+N(this.c)};function Xb(a){M.call(this,4);this.c=a;rb(this,la(this.c,function(b){return b.g}));sb(this,la(this.c,function(b){return b.b}))}t(Xb,M);Xb.prototype.a=function(a){var b=new I;u(this.c,function(c){c=c.a(a);if(!(c instanceof I))throw Error(\"Path expression must evaluate to NodeSet.\");b=mb(b,c)});return b};Xb.prototype.toString=function(){return ka(this.c,function(a,b){return a+N(b)},\"Union Expression:\")};function Yb(a,b){this.a=a;this.b=b}function Zb(a){for(var b,c=[];;){T(a,\"Missing right hand side of binary expression.\");b=$b(a);var d=C(a.a);if(!d)break;var e=(d=yb[d]||null)&&d.C;if(!e){a.a.a--;break}for(;c.length&&e<=c[c.length-1].C;)b=new ub(c.pop(),c.pop(),b);c.push(b,d)}for(;c.length;)b=new ub(c.pop(),c.pop(),b);return b}function T(a,b){if(Ua(a.a))throw Error(b);}function ac(a,b){a=C(a.a);if(a!=b)throw Error(\"Bad token, expected: \"+b+\" got: \"+a);}\nfunction dc(a){a=C(a.a);if(\")\"!=a)throw Error(\"Bad token: \"+a);}function ec(a){a=C(a.a);if(2>a.length)throw Error(\"Unclosed literal string\");return new Fb(a)}\nfunction fc(a){var b=[];if(Lb(B(a.a))){var c=C(a.a);var d=B(a.a);if(\"/\"==c&&(Ua(a.a)||\".\"!=d&&\"..\"!=d&&\"@\"!=d&&\"*\"!=d&&!/(?![0-9])[\\w]/.test(d)))return new Jb;d=new Jb;T(a,\"Missing next location step.\");c=gc(a,c);b.push(c)}else{a:{c=B(a.a);d=c.charAt(0);switch(d){case \"$\":throw Error(\"Variable reference not allowed in HTML XPath\");case \"(\":C(a.a);c=Zb(a);T(a,'unclosed \"(\"');ac(a,\")\");break;case '\"':case \"'\":c=ec(a);break;default:if(isNaN(+c))if(!Eb(c)&&/(?![0-9])[\\w]/.test(d)&&\"(\"==B(a.a,1)){c=C(a.a);\nc=Db[c]||null;C(a.a);for(d=[];\")\"!=B(a.a);){T(a,\"Missing function argument list.\");d.push(Zb(a));if(\",\"!=B(a.a))break;C(a.a)}T(a,\"Unclosed function argument list.\");dc(a);c=new Bb(c,d)}else{c=null;break a}else c=new Gb(+C(a.a))}\"[\"==B(a.a)&&(d=new Ob(hc(a)),c=new zb(c,d))}if(c)if(Lb(B(a.a)))d=c;else return c;else c=gc(a,\"/\"),d=new Kb,b.push(c)}for(;Lb(B(a.a));)c=C(a.a),T(a,\"Missing next location step.\"),c=gc(a,c),b.push(c);return new Hb(d,b)}\nfunction gc(a,b){if(\"/\"!=b&&\"//\"!=b)throw Error('Step op should be \"/\" or \"//\"');if(\".\"==B(a.a)){var c=new Pb(Vb,new J(\"node\"));C(a.a);return c}if(\"..\"==B(a.a))return c=new Pb(Ub,new J(\"node\")),C(a.a),c;if(\"@\"==B(a.a)){var d=Ib;C(a.a);T(a,\"Missing attribute name\")}else if(\"::\"==B(a.a,1)){if(!/(?![0-9])[\\w]/.test(B(a.a).charAt(0)))throw Error(\"Bad token: \"+C(a.a));var e=C(a.a);d=Tb[e]||null;if(!d)throw Error(\"No axis with name: \"+e);C(a.a);T(a,\"Missing node name\")}else d=Qb;e=B(a.a);if(/(?![0-9])[\\w\\*]/.test(e.charAt(0)))if(\"(\"==\nB(a.a,1)){if(!Eb(e))throw Error(\"Invalid node type: \"+e);e=C(a.a);if(!Eb(e))throw Error(\"Invalid type name: \"+e);ac(a,\"(\");T(a,\"Bad nodetype\");var f=B(a.a).charAt(0),g=null;if('\"'==f||\"'\"==f)g=ec(a);T(a,\"Bad nodetype\");dc(a);e=new J(e,g)}else if(e=C(a.a),f=e.indexOf(\":\"),-1==f)e=new fb(e);else{g=e.substring(0,f);if(\"*\"==g)var h=\"*\";else if(h=a.b(g),!h)throw Error(\"Namespace prefix not declared: \"+g);e=e.substr(f+1);e=new fb(e,h)}else throw Error(\"Bad token: \"+C(a.a));a=new Ob(hc(a),d.s);return c||\nnew Pb(d,e,a,\"//\"==b)}function hc(a){for(var b=[];\"[\"==B(a.a);){C(a.a);T(a,\"Missing predicate expression.\");var c=Zb(a);b.push(c);T(a,\"Unclosed predicate expression.\");ac(a,\"]\")}return b}function $b(a){if(\"-\"==B(a.a))return C(a.a),new Wb($b(a));var b=fc(a);if(\"|\"!=B(a.a))a=b;else{for(b=[b];\"|\"==C(a.a);)T(a,\"Missing next union location path.\"),b.push(fc(a));a.a.a--;a=new Xb(b)}return a};function ic(a){switch(a.nodeType){case 1:return fa(jc,a);case 9:return ic(a.documentElement);case 11:case 10:case 6:case 12:return kc;default:return a.parentNode?ic(a.parentNode):kc}}function kc(){return null}function jc(a,b){if(a.prefix==b)return a.namespaceURI||\"http://www.w3.org/1999/xhtml\";var c=a.getAttributeNode(\"xmlns:\"+b);return c&&c.specified?c.value||null:a.parentNode&&9!=a.parentNode.nodeType?jc(a.parentNode,b):null};function lc(a,b){if(!a.length)throw Error(\"Empty XPath expression.\");a=Ra(a);if(Ua(a))throw Error(\"Invalid XPath expression.\");b?\"function\"==ba(b)||(b=ea(b.lookupNamespaceURI,b)):b=function(){return null};var c=Zb(new Yb(a,b));if(!Ua(a))throw Error(\"Bad token: \"+C(a));this.evaluate=function(d,e){d=c.a(new ha(d));return new U(d,e)}}\nfunction U(a,b){if(0==b)if(a instanceof I)b=4;else if(\"string\"==typeof a)b=2;else if(\"number\"==typeof a)b=1;else if(\"boolean\"==typeof a)b=3;else throw Error(\"Unexpected evaluation result.\");if(2!=b&&1!=b&&3!=b&&!(a instanceof I))throw Error(\"value could not be converted to the specified type\");this.resultType=b;switch(b){case 2:this.stringValue=a instanceof I?pb(a):\"\"+a;break;case 1:this.numberValue=a instanceof I?+pb(a):+a;break;case 3:this.booleanValue=a instanceof I?0<a.l:!!a;break;case 4:case 5:case 6:case 7:var c=\nK(a);var d=[];for(var e=L(c);e;e=L(c))d.push(e instanceof Oa?e.a:e);this.snapshotLength=a.l;this.invalidIteratorState=!1;break;case 8:case 9:a=ob(a);this.singleNodeValue=a instanceof Oa?a.a:a;break;default:throw Error(\"Unknown XPathResult type.\");}var f=0;this.iterateNext=function(){if(4!=b&&5!=b)throw Error(\"iterateNext called with wrong result type\");return f>=d.length?null:d[f++]};this.snapshotItem=function(g){if(6!=b&&7!=b)throw Error(\"snapshotItem called with wrong result type\");return g>=d.length||\n0>g?null:d[g]}}U.ANY_TYPE=0;U.NUMBER_TYPE=1;U.STRING_TYPE=2;U.BOOLEAN_TYPE=3;U.UNORDERED_NODE_ITERATOR_TYPE=4;U.ORDERED_NODE_ITERATOR_TYPE=5;U.UNORDERED_NODE_SNAPSHOT_TYPE=6;U.ORDERED_NODE_SNAPSHOT_TYPE=7;U.ANY_UNORDERED_NODE_TYPE=8;U.FIRST_ORDERED_NODE_TYPE=9;function mc(a){this.lookupNamespaceURI=ic(a)}\nfunction nc(a,b){a=a||k;var c=a.Document&&a.Document.prototype||a.document;if(!c.evaluate||b)a.XPathResult=U,c.evaluate=function(d,e,f,g){return(new lc(d,f)).evaluate(e,g)},c.createExpression=function(d,e){return new lc(d,e)},c.createNSResolver=function(d){return new mc(d)}}aa(\"wgxpath.install\",nc);aa(\"wgxpath.install\",nc);var oc={aliceblue:\"#f0f8ff\",antiquewhite:\"#faebd7\",aqua:\"#00ffff\",aquamarine:\"#7fffd4\",azure:\"#f0ffff\",beige:\"#f5f5dc\",bisque:\"#ffe4c4\",black:\"#000000\",blanchedalmond:\"#ffebcd\",blue:\"#0000ff\",blueviolet:\"#8a2be2\",brown:\"#a52a2a\",burlywood:\"#deb887\",cadetblue:\"#5f9ea0\",chartreuse:\"#7fff00\",chocolate:\"#d2691e\",coral:\"#ff7f50\",cornflowerblue:\"#6495ed\",cornsilk:\"#fff8dc\",crimson:\"#dc143c\",cyan:\"#00ffff\",darkblue:\"#00008b\",darkcyan:\"#008b8b\",darkgoldenrod:\"#b8860b\",darkgray:\"#a9a9a9\",darkgreen:\"#006400\",\ndarkgrey:\"#a9a9a9\",darkkhaki:\"#bdb76b\",darkmagenta:\"#8b008b\",darkolivegreen:\"#556b2f\",darkorange:\"#ff8c00\",darkorchid:\"#9932cc\",darkred:\"#8b0000\",darksalmon:\"#e9967a\",darkseagreen:\"#8fbc8f\",darkslateblue:\"#483d8b\",darkslategray:\"#2f4f4f\",darkslategrey:\"#2f4f4f\",darkturquoise:\"#00ced1\",darkviolet:\"#9400d3\",deeppink:\"#ff1493\",deepskyblue:\"#00bfff\",dimgray:\"#696969\",dimgrey:\"#696969\",dodgerblue:\"#1e90ff\",firebrick:\"#b22222\",floralwhite:\"#fffaf0\",forestgreen:\"#228b22\",fuchsia:\"#ff00ff\",gainsboro:\"#dcdcdc\",\nghostwhite:\"#f8f8ff\",gold:\"#ffd700\",goldenrod:\"#daa520\",gray:\"#808080\",green:\"#008000\",greenyellow:\"#adff2f\",grey:\"#808080\",honeydew:\"#f0fff0\",hotpink:\"#ff69b4\",indianred:\"#cd5c5c\",indigo:\"#4b0082\",ivory:\"#fffff0\",khaki:\"#f0e68c\",lavender:\"#e6e6fa\",lavenderblush:\"#fff0f5\",lawngreen:\"#7cfc00\",lemonchiffon:\"#fffacd\",lightblue:\"#add8e6\",lightcoral:\"#f08080\",lightcyan:\"#e0ffff\",lightgoldenrodyellow:\"#fafad2\",lightgray:\"#d3d3d3\",lightgreen:\"#90ee90\",lightgrey:\"#d3d3d3\",lightpink:\"#ffb6c1\",lightsalmon:\"#ffa07a\",\nlightseagreen:\"#20b2aa\",lightskyblue:\"#87cefa\",lightslategray:\"#778899\",lightslategrey:\"#778899\",lightsteelblue:\"#b0c4de\",lightyellow:\"#ffffe0\",lime:\"#00ff00\",limegreen:\"#32cd32\",linen:\"#faf0e6\",magenta:\"#ff00ff\",maroon:\"#800000\",mediumaquamarine:\"#66cdaa\",mediumblue:\"#0000cd\",mediumorchid:\"#ba55d3\",mediumpurple:\"#9370db\",mediumseagreen:\"#3cb371\",mediumslateblue:\"#7b68ee\",mediumspringgreen:\"#00fa9a\",mediumturquoise:\"#48d1cc\",mediumvioletred:\"#c71585\",midnightblue:\"#191970\",mintcream:\"#f5fffa\",mistyrose:\"#ffe4e1\",\nmoccasin:\"#ffe4b5\",navajowhite:\"#ffdead\",navy:\"#000080\",oldlace:\"#fdf5e6\",olive:\"#808000\",olivedrab:\"#6b8e23\",orange:\"#ffa500\",orangered:\"#ff4500\",orchid:\"#da70d6\",palegoldenrod:\"#eee8aa\",palegreen:\"#98fb98\",paleturquoise:\"#afeeee\",palevioletred:\"#db7093\",papayawhip:\"#ffefd5\",peachpuff:\"#ffdab9\",peru:\"#cd853f\",pink:\"#ffc0cb\",plum:\"#dda0dd\",powderblue:\"#b0e0e6\",purple:\"#800080\",red:\"#ff0000\",rosybrown:\"#bc8f8f\",royalblue:\"#4169e1\",saddlebrown:\"#8b4513\",salmon:\"#fa8072\",sandybrown:\"#f4a460\",seagreen:\"#2e8b57\",\nseashell:\"#fff5ee\",sienna:\"#a0522d\",silver:\"#c0c0c0\",skyblue:\"#87ceeb\",slateblue:\"#6a5acd\",slategray:\"#708090\",slategrey:\"#708090\",snow:\"#fffafa\",springgreen:\"#00ff7f\",steelblue:\"#4682b4\",tan:\"#d2b48c\",teal:\"#008080\",thistle:\"#d8bfd8\",tomato:\"#ff6347\",turquoise:\"#40e0d0\",violet:\"#ee82ee\",wheat:\"#f5deb3\",white:\"#ffffff\",whitesmoke:\"#f5f5f5\",yellow:\"#ffff00\",yellowgreen:\"#9acd32\"};var pc=\"backgroundColor borderTopColor borderRightColor borderBottomColor borderLeftColor color outlineColor\".split(\" \"),qc=/#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])/,rc=/^#(?:[0-9a-f]{3}){1,2}$/i,sc=/^(?:rgba)?\\((\\d{1,3}),\\s?(\\d{1,3}),\\s?(\\d{1,3}),\\s?(0|1|0\\.\\d*)\\)$/i,tc=/^(?:rgb)?\\((0|[1-9]\\d{0,2}),\\s?(0|[1-9]\\d{0,2}),\\s?(0|[1-9]\\d{0,2})\\)$/i;function uc(a,b){this.code=a;this.a=V[a]||vc;this.message=b||\"\";a=this.a.replace(/((?:^|\\s+)[a-z])/g,function(c){return c.toUpperCase().replace(/^[\\s\\xa0]+/g,\"\")});b=a.length-5;if(0>b||a.indexOf(\"Error\",b)!=b)a+=\"Error\";this.name=a;a=Error(this.message);a.name=this.name;this.stack=a.stack||\"\"}t(uc,Error);var vc=\"unknown error\",V={15:\"element not selectable\",11:\"element not visible\"};V[31]=vc;V[30]=vc;V[24]=\"invalid cookie domain\";V[29]=\"invalid element coordinates\";V[12]=\"invalid element state\";\nV[32]=\"invalid selector\";V[51]=\"invalid selector\";V[52]=\"invalid selector\";V[17]=\"javascript error\";V[405]=\"unsupported operation\";V[34]=\"move target out of bounds\";V[27]=\"no such alert\";V[7]=\"no such element\";V[8]=\"no such frame\";V[23]=\"no such window\";V[28]=\"script timeout\";V[33]=\"session not created\";V[10]=\"stale element reference\";V[21]=\"timeout\";V[25]=\"unable to set cookie\";V[26]=\"unexpected alert open\";V[13]=vc;V[9]=\"unknown command\";var wc=ua(),xc=ya()||y(\"iPod\"),yc=y(\"iPad\"),zc=y(\"Android\")&&!(va()||ua()||y(\"Opera\")||y(\"Silk\")),Ac=va(),Bc=y(\"Safari\")&&!(va()||y(\"Coast\")||y(\"Opera\")||y(\"Edge\")||ua()||y(\"Silk\")||y(\"Android\"))&&!(ya()||y(\"iPad\")||y(\"iPod\"));function Cc(a){return(a=a.exec(v))?a[1]:\"\"}(function(){if(wc)return Cc(/Firefox\\/([0-9.]+)/);if(z||Ca||Ba)return Ga;if(Ac)return ya()||y(\"iPad\")||y(\"iPod\")?Cc(/CriOS\\/([0-9.]+)/):Cc(/Chrome\\/([0-9.]+)/);if(Bc&&!(ya()||y(\"iPad\")||y(\"iPod\")))return Cc(/Version\\/([0-9.]+)/);if(xc||yc){var a=/Version\\/(\\S+).*Mobile\\/(\\S+)/.exec(v);if(a)return a[1]+\".\"+a[2]}else if(zc)return(a=Cc(/Android\\s+([0-9.]+)/))?a:Cc(/Version\\/([0-9.]+)/);return\"\"})();var Dc,Ec=function(){if(!Da)return!1;var a=k.Components;if(!a)return!1;try{if(!a.classes)return!1}catch(e){return!1}var b=a.classes;a=a.interfaces;var c=b[\"@mozilla.org/xpcom/version-comparator;1\"].getService(a.nsIVersionComparator),d=b[\"@mozilla.org/xre/app-info;1\"].getService(a.nsIXULAppInfo).version;Dc=function(e){c.compare(d,\"\"+e)};return!0}(),Fc=z&&!(9<=Number(La));zc&&Ec&&Dc(2.3);zc&&Ec&&Dc(4);Bc&&Ec&&Dc(6);function W(a,b){b&&\"string\"!==typeof b&&(b=b.toString());return!!a&&1==a.nodeType&&(!b||a.tagName.toUpperCase()==b)};var Gc=function(){var a={J:\"http://www.w3.org/2000/svg\"};return function(b){return a[b]||null}}();\nfunction Hc(a,b){var c=D(a);if(!c.documentElement)return null;(z||zc)&&nc(c?c.parentWindow||c.defaultView:window);try{var d=c.createNSResolver?c.createNSResolver(c.documentElement):Gc;if(z&&!Ka(7))return c.evaluate.call(c,b,a,d,9,null);if(!z||9<=Number(La)){for(var e={},f=c.getElementsByTagName(\"*\"),g=0;g<f.length;++g){var h=f[g],m=h.namespaceURI;if(m&&!e[m]){var w=h.lookupPrefix(m);if(!w){var r=m.match(\".*/(\\\\w+)/?$\");w=r?r[1]:\"xhtml\"}e[m]=w}}var x={},F;for(F in e)x[e[F]]=F;d=function(G){return x[G]||\nnull}}try{return c.evaluate(b,a,d,9,null)}catch(G){if(\"TypeError\"===G.name)return d=c.createNSResolver?c.createNSResolver(c.documentElement):Gc,c.evaluate(b,a,d,9,null);throw G;}}catch(G){if(!Da||\"NS_ERROR_ILLEGAL_VALUE\"!=G.name)throw new uc(32,\"Unable to locate an element with the xpath expression \"+b+\" because of the following error:\\n\"+G);}}\nfunction Ic(a,b){var c=function(){var d=Hc(b,a);return d?d.singleNodeValue||null:b.selectSingleNode?(d=D(b),d.setProperty&&d.setProperty(\"SelectionLanguage\",\"XPath\"),b.selectSingleNode(a)):null}();if(null!==c&&(!c||1!=c.nodeType))throw new uc(32,'The result of the xpath expression \"'+a+'\" is: '+c+\". It should be an element.\");return c};function Jc(a,b,c,d){this.c=a;this.a=b;this.b=c;this.f=d}Jc.prototype.ceil=function(){this.c=Math.ceil(this.c);this.a=Math.ceil(this.a);this.b=Math.ceil(this.b);this.f=Math.ceil(this.f);return this};Jc.prototype.floor=function(){this.c=Math.floor(this.c);this.a=Math.floor(this.a);this.b=Math.floor(this.b);this.f=Math.floor(this.f);return this};Jc.prototype.round=function(){this.c=Math.round(this.c);this.a=Math.round(this.a);this.b=Math.round(this.b);this.f=Math.round(this.f);return this};function X(a,b,c,d){this.a=a;this.b=b;this.width=c;this.height=d}X.prototype.ceil=function(){this.a=Math.ceil(this.a);this.b=Math.ceil(this.b);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};X.prototype.floor=function(){this.a=Math.floor(this.a);this.b=Math.floor(this.b);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};\nX.prototype.round=function(){this.a=Math.round(this.a);this.b=Math.round(this.b);this.width=Math.round(this.width);this.height=Math.round(this.height);return this};var Kc=\"function\"===typeof ShadowRoot;function Lc(a){for(a=a.parentNode;a&&1!=a.nodeType&&9!=a.nodeType&&11!=a.nodeType;)a=a.parentNode;return W(a)?a:null}\nfunction Y(a,b){b=wa(b);if(\"float\"==b||\"cssFloat\"==b||\"styleFloat\"==b)b=Fc?\"styleFloat\":\"cssFloat\";a:{var c=b;var d=D(a);if(d.defaultView&&d.defaultView.getComputedStyle&&(d=d.defaultView.getComputedStyle(a,null))){c=d[c]||d.getPropertyValue(c)||\"\";break a}c=\"\"}a=c||Mc(a,b);if(null===a)a=null;else if(0<=ia(pc,b)){b:{var e=a.match(sc);if(e&&(b=Number(e[1]),c=Number(e[2]),d=Number(e[3]),e=Number(e[4]),0<=b&&255>=b&&0<=c&&255>=c&&0<=d&&255>=d&&0<=e&&1>=e)){b=[b,c,d,e];break b}b=null}if(!b)b:{if(d=a.match(tc))if(b=\nNumber(d[1]),c=Number(d[2]),d=Number(d[3]),0<=b&&255>=b&&0<=c&&255>=c&&0<=d&&255>=d){b=[b,c,d,1];break b}b=null}if(!b)b:{b=a.toLowerCase();c=oc[b.toLowerCase()];if(!c&&(c=\"#\"==b.charAt(0)?b:\"#\"+b,4==c.length&&(c=c.replace(qc,\"#$1$1$2$2$3$3\")),!rc.test(c))){b=null;break b}b=[parseInt(c.substr(1,2),16),parseInt(c.substr(3,2),16),parseInt(c.substr(5,2),16),1]}a=b?\"rgba(\"+b.join(\", \")+\")\":a}return a}\nfunction Mc(a,b){var c=a.currentStyle||a.style,d=c[b];!l(d)&&\"function\"==ba(c.getPropertyValue)&&(d=c.getPropertyValue(b));return\"inherit\"!=d?l(d)?d:null:(a=Lc(a))?Mc(a,b):null}\nfunction Nc(a,b,c){function d(g){var h=Oc(g);return 0<h.height&&0<h.width?!0:W(g,\"PATH\")&&(0<h.height||0<h.width)?(g=Y(g,\"stroke-width\"),!!g&&0<parseInt(g,10)):\"hidden\"!=Y(g,\"overflow\")&&la(g.childNodes,function(m){return 3==m.nodeType||W(m)&&d(m)})}function e(g){return Pc(g)==Z&&ma(g.childNodes,function(h){return!W(h)||e(h)||!d(h)})}if(!W(a))throw Error(\"Argument to isShown must be of type Element\");if(W(a,\"BODY\"))return!0;var f=Lc(a);if(f&&W(f,\"DETAILS\")&&!f.open&&!W(a,\"SUMMARY\"))return!1;if(W(a,\n\"OPTION\")||W(a,\"OPTGROUP\"))return a=ab(a,function(g){return W(g,\"SELECT\")}),!!a&&Nc(a,!0,c);if(f=Qc(a))return!!f.image&&0<f.rect.width&&0<f.rect.height&&Nc(f.image,b,c);if(W(a,\"INPUT\")&&\"hidden\"==a.type.toLowerCase()||W(a,\"NOSCRIPT\"))return!1;f=Y(a,\"visibility\");return\"collapse\"!=f&&\"hidden\"!=f&&c(a)&&(b||0!=Rc(a))&&d(a)?!e(a):!1}var Z=\"hidden\";\nfunction Pc(a){function b(p){function q(kb){if(kb==g)return!0;var bc=Y(kb,\"display\");return 0==bc.lastIndexOf(\"inline\",0)||\"contents\"==bc||\"absolute\"==cc&&\"static\"==Y(kb,\"position\")?!1:!0}var cc=Y(p,\"position\");if(\"fixed\"==cc)return w=!0,p==g?null:g;for(p=Lc(p);p&&!q(p);)p=Lc(p);return p}function c(p){var q=p;if(\"visible\"==m)if(p==g&&h)q=h;else if(p==h)return{x:\"visible\",y:\"visible\"};q={x:Y(q,\"overflow-x\"),y:Y(q,\"overflow-y\")};p==g&&(q.x=\"visible\"==q.x?\"auto\":q.x,q.y=\"visible\"==q.y?\"auto\":q.y);return q}\nfunction d(p){if(p==g){var q=(new bb(f)).a;p=q.scrollingElement?q.scrollingElement:Ea||\"CSS1Compat\"!=q.compatMode?q.body||q.documentElement:q.documentElement;q=q.parentWindow||q.defaultView;p=z&&Ka(\"10\")&&q.pageYOffset!=p.scrollTop?new Va(p.scrollLeft,p.scrollTop):new Va(q.pageXOffset||p.scrollLeft,q.pageYOffset||p.scrollTop)}else p=new Va(p.scrollLeft,p.scrollTop);return p}var e=Sc(a),f=D(a),g=f.documentElement,h=f.body,m=Y(g,\"overflow\"),w;for(a=b(a);a;a=b(a)){var r=c(a);if(\"visible\"!=r.x||\"visible\"!=\nr.y){var x=Oc(a);if(0==x.width||0==x.height)return Z;if(z){var F=xa(Y(a,\"width\")),G=xa(Y(a,\"height\"));if(F!=x.width||G!=x.height)x=new X(x.a,x.b,F,G)}F=e.a<x.a;G=e.b<x.b;if(F&&\"hidden\"==r.x||G&&\"hidden\"==r.y)return Z;if(F&&\"visible\"!=r.x||G&&\"visible\"!=r.y){F=d(a);G=e.b<x.b-F.y;if(e.a<x.a-F.x&&\"visible\"!=r.x||G&&\"visible\"!=r.x)return Z;e=Pc(a);return e==Z?Z:\"scroll\"}F=e.f>=x.a+x.width;x=e.c>=x.b+x.height;if(F&&\"hidden\"==r.x||x&&\"hidden\"==r.y)return Z;if(F&&\"visible\"!=r.x||x&&\"visible\"!=r.y){if(w&&\n(r=d(a),e.f>=g.scrollWidth-r.x||e.a>=g.scrollHeight-r.y))return Z;e=Pc(a);return e==Z?Z:\"scroll\"}}}return\"none\"}\nfunction Oc(a){var b=Qc(a);if(b)return b.rect;if(W(a,\"HTML\"))return a=D(a),a=((a?a.parentWindow||a.defaultView:window)||window).document,a=\"CSS1Compat\"==a.compatMode?a.documentElement:a.body,a=new Wa(a.clientWidth,a.clientHeight),new X(0,0,a.width,a.height);try{var c=a.getBoundingClientRect()}catch(d){return new X(0,0,0,0)}b=new X(c.left,c.top,c.right-c.left,c.bottom-c.top);z&&a.ownerDocument.body&&(a=D(a),b.a-=a.documentElement.clientLeft+a.body.clientLeft,b.b-=a.documentElement.clientTop+a.body.clientTop);\nreturn b}function Qc(a){var b=W(a,\"MAP\");if(!b&&!W(a,\"AREA\"))return null;var c=b?a:W(a.parentNode,\"MAP\")?a.parentNode:null,d=null,e=null;c&&c.name&&(d=Ic('/descendant::*[@usemap = \"#'+c.name+'\"]',D(c)))&&(e=Oc(d),b||\"default\"==a.shape.toLowerCase()||(a=Tc(a),b=Math.min(Math.max(a.a,0),e.width),c=Math.min(Math.max(a.b,0),e.height),e=new X(b+e.a,c+e.b,Math.min(a.width,e.width-b),Math.min(a.height,e.height-c))));return{image:d,rect:e||new X(0,0,0,0)}}\nfunction Tc(a){var b=a.shape.toLowerCase();a=a.coords.split(\",\");if(\"rect\"==b&&4==a.length){b=a[0];var c=a[1];return new X(b,c,a[2]-b,a[3]-c)}if(\"circle\"==b&&3==a.length)return b=a[2],new X(a[0]-b,a[1]-b,2*b,2*b);if(\"poly\"==b&&2<a.length){b=a[0];c=a[1];for(var d=b,e=c,f=2;f+1<a.length;f+=2)b=Math.min(b,a[f]),d=Math.max(d,a[f]),c=Math.min(c,a[f+1]),e=Math.max(e,a[f+1]);return new X(b,c,d-b,e-c)}return new X(0,0,0,0)}function Sc(a){a=Oc(a);return new Jc(a.b,a.a+a.width,a.b+a.height,a.a)}\nfunction Rc(a){if(Fc){if(\"relative\"==Y(a,\"position\"))return 1;a=Y(a,\"filter\");return(a=a.match(/^alpha\\(opacity=(\\d*)\\)/)||a.match(/^progid:DXImageTransform.Microsoft.Alpha\\(Opacity=(\\d*)\\)/))?Number(a[1])/100:1}return Uc(a)}function Uc(a){var b=1,c=Y(a,\"opacity\");c&&(b=Number(c));(a=Lc(a))&&(b*=Uc(a));return b};aa(\"_\",function(a,b){function c(d){if(W(d)&&\"none\"==Y(d,\"display\"))return!1;var e;(e=d.parentNode)&&e.shadowRoot&&void 0!==d.assignedSlot?e=d.assignedSlot?d.assignedSlot.parentNode:null:d.getDestinationInsertionPoints&&(d=d.getDestinationInsertionPoints(),0<d.length&&(e=d[d.length-1]));if(Kc&&e instanceof ShadowRoot){if(e.host.shadowRoot!==e)return!1;e=e.host}return!e||9!=e.nodeType&&11!=e.nodeType?e&&c(e):!0}return Nc(a,!!b,c)});; return this._.apply(null,arguments);}).apply({navigator:typeof window!='undefined'?window.navigator:null,document:typeof window!='undefined'?window.document:null}, arguments);}).apply(null, arguments)","args":[{"element-6066-11e4-a52e-4f735466cecf":"63fe48b1-5d8e-0447-b148-d1d52fbf3bee","ELEMENT":"63fe48b1-5d8e-0447-b148-d1d52fbf3bee"}]}
1582667667476   Marionette  DEBUG   0 -> [0,6,"WebDriver:ExecuteScript",{"args":[{"ELEMENT":"63fe48b1-5d8e-0447-b148-d1d52fbf3bee","element-6066-11e4-a52e-4f735466cec ... ned'?window.navigator:null,document:typeof window!='undefined'?window.document:null}, arguments);}).apply(null, arguments)"}]
1582667667486   Marionette  DEBUG   0 <- [1,6,null,{"value":true}]
1582667667487   webdriver::server   DEBUG   <- 200 OK {"value":true}
1582667667489   webdriver::server   DEBUG   -> POST /session/985d0cab-c1ff-a542-b2a7-63220a95b4dd/element/63fe48b1-5d8e-0447-b148-d1d52fbf3bee/click {}
1582667667490   Marionette  DEBUG   0 -> [0,7,"WebDriver:ElementClick",{"id":"63fe48b1-5d8e-0447-b148-d1d52fbf3bee"}]
1582667667709   Marionette  DEBUG   [17] Canceled page load listener because no navigation has been detected
1582667667709   Marionette  DEBUG   0 <- [1,7,null,{"value":null}]
1582667667710   webdriver::server   DEBUG   <- 200 OK {"value":null}
1582667667713   webdriver::server   DEBUG   -> POST /session/985d0cab-c1ff-a542-b2a7-63220a95b4dd/elements {"using":"css selector","value":"*[id=\"subscription-status\"]"}
1582667667714   Marionette  DEBUG   0 -> [0,8,"WebDriver:FindElements",{"using":"css selector","value":"*[id=\"subscription-status\"]"}]
1582667667716   Marionette  DEBUG   0 <- [1,8,null,[{"element-6066-11e4-a52e-4f735466cecf":"7489fbf8-43bd-a343-83d0-04da845bbbfe"}]]
1582667667716   webdriver::server   DEBUG   <- 200 OK {"value":[{"element-6066-11e4-a52e-4f735466cecf":"7489fbf8-43bd-a343-83d0-04da845bbbfe"}]}
1582667667718   webdriver::server   DEBUG   -> GET /session/985d0cab-c1ff-a542-b2a7-63220a95b4dd/element/7489fbf8-43bd-a343-83d0-04da845bbbfe/text
1582667667719   Marionette  DEBUG   0 -> [0,9,"WebDriver:GetElementText",{"id":"7489fbf8-43bd-a343-83d0-04da845bbbfe"}]
1582667667728   Marionette  DEBUG   0 <- [1,9,null,{"value":"false"}]
1582667667728   webdriver::server   DEBUG   <- 200 OK {"value":"false"}
1582667667935   webdriver::server   DEBUG   -> GET /session/985d0cab-c1ff-a542-b2a7-63220a95b4dd/element/7489fbf8-43bd-a343-83d0-04da845bbbfe/text
1582667667936   Marionette  DEBUG   0 -> [0,10,"WebDriver:GetElementText",{"id":"7489fbf8-43bd-a343-83d0-04da845bbbfe"}]
1582667667940   Marionette  DEBUG   0 <- [1,10,null,{"value":"false"}]
1582667667941   webdriver::server   DEBUG   <- 200 OK {"value":"false"}
1582667668144   webdriver::server   DEBUG   -> GET /session/985d0cab-c1ff-a542-b2a7-63220a95b4dd/element/7489fbf8-43bd-a343-83d0-04da845bbbfe/text
1582667668145   Marionette  DEBUG   0 -> [0,11,"WebDriver:GetElementText",{"id":"7489fbf8-43bd-a343-83d0-04da845bbbfe"}]
1582667668149   Marionette  DEBUG   0 <- [1,11,null,{"value":"false"}]
1582667668149   webdriver::server   DEBUG   <- 200 OK {"value":"false"}
1582667668352   webdriver::server   DEBUG   -> GET /session/985d0cab-c1ff-a542-b2a7-63220a95b4dd/element/7489fbf8-43bd-a343-83d0-04da845bbbfe/text
1582667668353   Marionette  DEBUG   0 -> [0,12,"WebDriver:GetElementText",{"id":"7489fbf8-43bd-a343-83d0-04da845bbbfe"}]
1582667668356   Marionette  DEBUG   0 <- [1,12,null,{"value":"false"}]
1582667668357   webdriver::server   DEBUG   <- 200 OK {"value":"false"}
1582667668560   webdriver::server   DEBUG   -> GET /session/985d0cab-c1ff-a542-b2a7-63220a95b4dd/element/7489fbf8-43bd-a343-83d0-04da845bbbfe/text
1582667668561   Marionette  DEBUG   0 -> [0,13,"WebDriver:GetElementText",{"id":"7489fbf8-43bd-a343-83d0-04da845bbbfe"}]
1582667668564   Marionette  DEBUG   0 <- [1,13,null,{"value":"false"}]
1582667668564   webdriver::server   DEBUG   <- 200 OK {"value":"false"}
1582667668772   webdriver::server   DEBUG   -> GET /session/985d0cab-c1ff-a542-b2a7-63220a95b4dd/element/7489fbf8-43bd-a343-83d0-04da845bbbfe/text
1582667668773   Marionette  DEBUG   0 -> [0,14,"WebDriver:GetElementText",{"id":"7489fbf8-43bd-a343-83d0-04da845bbbfe"}]
1582667668776   Marionette  DEBUG   0 <- [1,14,null,{"value":"false"}]
1582667668777   webdriver::server   DEBUG   <- 200 OK {"value":"false"}
1582667668981   webdriver::server   DEBUG   -> GET /session/985d0cab-c1ff-a542-b2a7-63220a95b4dd/element/7489fbf8-43bd-a343-83d0-04da845bbbfe/text
1582667668982   Marionette  DEBUG   0 -> [0,15,"WebDriver:GetElementText",{"id":"7489fbf8-43bd-a343-83d0-04da845bbbfe"}]
1582667668985   Marionette  DEBUG   0 <- [1,15,null,{"value":"false"}]
1582667668986   webdriver::server   DEBUG   <- 200 OK {"value":"false"}
1582667669190   webdriver::server   DEBUG   -> GET /session/985d0cab-c1ff-a542-b2a7-63220a95b4dd/element/7489fbf8-43bd-a343-83d0-04da845bbbfe/text
1582667669191   Marionette  DEBUG   0 -> [0,16,"WebDriver:GetElementText",{"id":"7489fbf8-43bd-a343-83d0-04da845bbbfe"}]
1582667669193   Marionette  DEBUG   0 <- [1,16,null,{"value":"false"}]
1582667669194   webdriver::server   DEBUG   <- 200 OK {"value":"false"}
1582667669401   webdriver::server   DEBUG   -> GET /session/985d0cab-c1ff-a542-b2a7-63220a95b4dd/element/7489fbf8-43bd-a343-83d0-04da845bbbfe/text
1582667669402   Marionette  DEBUG   0 -> [0,17,"WebDriver:GetElementText",{"id":"7489fbf8-43bd-a343-83d0-04da845bbbfe"}]
1582667669405   Marionette  DEBUG   0 <- [1,17,null,{"value":"false"}]
1582667669405   webdriver::server   DEBUG   <- 200 OK {"value":"false"}
1582667669609   webdriver::server   DEBUG   -> GET /session/985d0cab-c1ff-a542-b2a7-63220a95b4dd/element/7489fbf8-43bd-a343-83d0-04da845bbbfe/text
1582667669610   Marionette  DEBUG   0 -> [0,18,"WebDriver:GetElementText",{"id":"7489fbf8-43bd-a343-83d0-04da845bbbfe"}]
1582667669612   Marionette  DEBUG   0 <- [1,18,null,{"value":"false"}]
1582667669613   webdriver::server   DEBUG   <- 200 OK {"value":"false"}
1582667669821   webdriver::server   DEBUG   -> GET /session/985d0cab-c1ff-a542-b2a7-63220a95b4dd/element/7489fbf8-43bd-a343-83d0-04da845bbbfe/text
1582667669822   Marionette  DEBUG   0 -> [0,19,"WebDriver:GetElementText",{"id":"7489fbf8-43bd-a343-83d0-04da845bbbfe"}]
1582667669825   Marionette  DEBUG   0 <- [1,19,null,{"value":"false"}]
1582667669825   webdriver::server   DEBUG   <- 200 OK {"value":"false"}
1582667670028   webdriver::server   DEBUG   -> GET /session/985d0cab-c1ff-a542-b2a7-63220a95b4dd/element/7489fbf8-43bd-a343-83d0-04da845bbbfe/text
1582667670030   Marionette  DEBUG   0 -> [0,20,"WebDriver:GetElementText",{"id":"7489fbf8-43bd-a343-83d0-04da845bbbfe"}]
1582667670032   Marionette  DEBUG   0 <- [1,20,null,{"value":"false"}]
1582667670033   webdriver::server   DEBUG   <- 200 OK {"value":"false"}
1582667670237   webdriver::server   DEBUG   -> GET /session/985d0cab-c1ff-a542-b2a7-63220a95b4dd/element/7489fbf8-43bd-a343-83d0-04da845bbbfe/text
1582667670239   Marionette  DEBUG   0 -> [0,21,"WebDriver:GetElementText",{"id":"7489fbf8-43bd-a343-83d0-04da845bbbfe"}]
1582667670241   Marionette  DEBUG   0 <- [1,21,null,{"value":"false"}]
1582667670242   webdriver::server   DEBUG   <- 200 OK {"value":"false"}
1582667670447   webdriver::server   DEBUG   -> GET /session/985d0cab-c1ff-a542-b2a7-63220a95b4dd/element/7489fbf8-43bd-a343-83d0-04da845bbbfe/text
1582667670448   Marionette  DEBUG   0 -> [0,22,"WebDriver:GetElementText",{"id":"7489fbf8-43bd-a343-83d0-04da845bbbfe"}]
1582667670451   Marionette  DEBUG   0 <- [1,22,null,{"value":"false"}]
1582667670451   webdriver::server   DEBUG   <- 200 OK {"value":"false"}
1582667670657   webdriver::server   DEBUG   -> GET /session/985d0cab-c1ff-a542-b2a7-63220a95b4dd/element/7489fbf8-43bd-a343-83d0-04da845bbbfe/text
1582667670658   Marionette  DEBUG   0 -> [0,23,"WebDriver:GetElementText",{"id":"7489fbf8-43bd-a343-83d0-04da845bbbfe"}]
1582667670660   Marionette  DEBUG   0 <- [1,23,null,{"value":"false"}]
1582667670661   webdriver::server   DEBUG   <- 200 OK {"value":"false"}
1582667670869   webdriver::server   DEBUG   -> GET /session/985d0cab-c1ff-a542-b2a7-63220a95b4dd/element/7489fbf8-43bd-a343-83d0-04da845bbbfe/text
1582667670870   Marionette  DEBUG   0 -> [0,24,"WebDriver:GetElementText",{"id":"7489fbf8-43bd-a343-83d0-04da845bbbfe"}]
1582667670873   Marionette  DEBUG   0 <- [1,24,null,{"value":"false"}]
1582667670873   webdriver::server   DEBUG   <- 200 OK {"value":"false"}
1582667671080   webdriver::server   DEBUG   -> GET /session/985d0cab-c1ff-a542-b2a7-63220a95b4dd/element/7489fbf8-43bd-a343-83d0-04da845bbbfe/text
1582667671081   Marionette  DEBUG   0 -> [0,25,"WebDriver:GetElementText",{"id":"7489fbf8-43bd-a343-83d0-04da845bbbfe"}]
1582667671084   Marionette  DEBUG   0 <- [1,25,null,{"value":"false"}]
1582667671084   webdriver::server   DEBUG   <- 200 OK {"value":"false"}
1582667671291   webdriver::server   DEBUG   -> GET /session/985d0cab-c1ff-a542-b2a7-63220a95b4dd/element/7489fbf8-43bd-a343-83d0-04da845bbbfe/text
1582667671291   Marionette  DEBUG   0 -> [0,26,"WebDriver:GetElementText",{"id":"7489fbf8-43bd-a343-83d0-04da845bbbfe"}]
1582667671294   Marionette  DEBUG   0 <- [1,26,null,{"value":"false"}]
1582667671294   webdriver::server   DEBUG   <- 200 OK {"value":"false"}
1582667671499   webdriver::server   DEBUG   -> GET /session/985d0cab-c1ff-a542-b2a7-63220a95b4dd/element/7489fbf8-43bd-a343-83d0-04da845bbbfe/text
1582667671500   Marionette  DEBUG   0 -> [0,27,"WebDriver:GetElementText",{"id":"7489fbf8-43bd-a343-83d0-04da845bbbfe"}]
1582667671505   Marionette  DEBUG   0 <- [1,27,null,{"value":"false"}]
1582667671505   webdriver::server   DEBUG   <- 200 OK {"value":"false"}
1582667671708   webdriver::server   DEBUG   -> GET /session/985d0cab-c1ff-a542-b2a7-63220a95b4dd/element/7489fbf8-43bd-a343-83d0-04da845bbbfe/text
1582667671709   Marionette  DEBUG   0 -> [0,28,"WebDriver:GetElementText",{"id":"7489fbf8-43bd-a343-83d0-04da845bbbfe"}]
1582667671713   Marionette  DEBUG   0 <- [1,28,null,{"value":"false"}]
1582667671713   webdriver::server   DEBUG   <- 200 OK {"value":"false"}
1582667671917   webdriver::server   DEBUG   -> GET /session/985d0cab-c1ff-a542-b2a7-63220a95b4dd/element/7489fbf8-43bd-a343-83d0-04da845bbbfe/text
1582667671918   Marionette  DEBUG   0 -> [0,29,"WebDriver:GetElementText",{"id":"7489fbf8-43bd-a343-83d0-04da845bbbfe"}]
1582667671921   Marionette  DEBUG   0 <- [1,29,null,{"value":"false"}]
1582667671921   webdriver::server   DEBUG   <- 200 OK {"value":"false"}
1582667672126   webdriver::server   DEBUG   -> GET /session/985d0cab-c1ff-a542-b2a7-63220a95b4dd/element/7489fbf8-43bd-a343-83d0-04da845bbbfe/text
1582667672127   Marionette  DEBUG   0 -> [0,30,"WebDriver:GetElementText",{"id":"7489fbf8-43bd-a343-83d0-04da845bbbfe"}]
1582667672131   Marionette  DEBUG   0 <- [1,30,null,{"value":"false"}]
1582667672131   webdriver::server   DEBUG   <- 200 OK {"value":"false"}
1582667672337   webdriver::server   DEBUG   -> GET /session/985d0cab-c1ff-a542-b2a7-63220a95b4dd/element/7489fbf8-43bd-a343-83d0-04da845bbbfe/text
1582667672338   Marionette  DEBUG   0 -> [0,31,"WebDriver:GetElementText",{"id":"7489fbf8-43bd-a343-83d0-04da845bbbfe"}]
1582667672341   Marionette  DEBUG   0 <- [1,31,null,{"value":"false"}]
1582667672342   webdriver::server   DEBUG   <- 200 OK {"value":"false"}
1582667672546   webdriver::server   DEBUG   -> GET /session/985d0cab-c1ff-a542-b2a7-63220a95b4dd/element/7489fbf8-43bd-a343-83d0-04da845bbbfe/text
1582667672547   Marionette  DEBUG   0 -> [0,32,"WebDriver:GetElementText",{"id":"7489fbf8-43bd-a343-83d0-04da845bbbfe"}]
1582667672550   Marionette  DEBUG   0 <- [1,32,null,{"value":"false"}]
1582667672551   webdriver::server   DEBUG   <- 200 OK {"value":"false"}
1582667672757   webdriver::server   DEBUG   -> GET /session/985d0cab-c1ff-a542-b2a7-63220a95b4dd/element/7489fbf8-43bd-a343-83d0-04da845bbbfe/text
1582667672758   Marionette  DEBUG   0 -> [0,33,"WebDriver:GetElementText",{"id":"7489fbf8-43bd-a343-83d0-04da845bbbfe"}]
1582667672761   Marionette  DEBUG   0 <- [1,33,null,{"value":"false"}]
1582667672761   webdriver::server   DEBUG   <- 200 OK {"value":"false"}
    1) allow -> subscription status = true
1582667672766   webdriver::server   DEBUG   -> DELETE /session/985d0cab-c1ff-a542-b2a7-63220a95b4dd
1582667672767   Marionette  DEBUG   0 -> [0,34,"Marionette:Quit",{"flags":["eForceQuit"]}]
1582667672768   Marionette  INFO    Stopped listening on port 56767
1582667672796   Marionette  TRACE   Received observer notification quit-application
1582667672798   Marionette  DEBUG   0 <- [1,34,null,{"cause":"shutdown"}]
1582667672815   webdriver::server   DEBUG   Deleting session
1582667672825   Marionette  DEBUG   0 -> [0,35,"Marionette:Quit",{"flags":["eForceQuit"]}]
1582667672826   Marionette  DEBUG   0 <- [1,35,{"error":"invalid session id","message":"Tried to run command without establishing a connection","stacktrace":"WebDrive ... t@chrome://marionette/content/server.js:249:9\n_onJSONObjectReady/<@chrome://marionette/content/transport.js:501:20\n"},null]
1582667672829   Marionette  DEBUG   Closed connection 0
whimboo commented 4 years ago

So what are the steps you do manually on that page when it works? Whatever I do myself on https://web-app-custom.herokuapp.com/ I cannot get the status to change to true. May some permissions not been set correctly?

rgomezp commented 4 years ago

@whimboo , Simply click on the bell in the bottom right and accept the permission. Maybe try clearing your cookies and push-notification settings in the Firefox settings.

Traktormaster commented 2 years ago

I'm experiencing the same issue. The subscription works if I start Firefox on its own, but not using geckodriver.

Versions: 0.30 and 0.31 Platform: Arch Linux Firefox: 99.0.1 Selenium: 3.141.0 (from PyPI)

The issue is reproducible using the official messaging quickstart: https://github.com/firebase/quickstart-js/tree/master/messaging

Necessary changes to run in local:

I've served the folder with a simple HTTP server on http://127.0.0.1:8800.