(function(){var c,f=this||self;var h=function(a){this.c="";this.a=[];this.b="";a&&("string"==typeof a?this.h(a):this.g(a))};c=h.prototype;c.i=function(a){for(var b=this.c==a.c&&this.b==a.b&&this.a.length==a.a.length,d=0;b&&d<this.a.length;d++)b=this.a[d]==a.a[d];return b};c.u=function(){return""==this.f()};c.clear=function(){this.c="";this.a=[];this.b=""};
c.g=function(a){this.clear();if(!a)return!1;var b=a.getAttribute("data-gwd-group-def")||"",d=b?[]:[a];for(a=a.parentElement;a&&!b;)a.hasAttribute("data-gwd-group")?d.push(a):b=a.getAttribute("data-gwd-group-def"),a=a.parentElement;d=d.reverse();a=!!b;var g=d[0];if(!a&&!g.id)return!1;for(var e=[],m=a?0:1;m<d.length;m++){var n=d[m].getAttribute("data-gwd-grp-id");if(!n)return!1;e.push(n)}this.c=a?"":g.id;this.a=e;this.b=b||"";return!0};
c.h=function(a){this.clear();a=a.split(" ");for(var b=""==a[0],d="",g=[],e=b?1:0;e<a.length;e++)if(a[e])d?g.push(a[e]):d=a[e];else return!1;if(!d)return!1;b?this.b=d:this.c=d;this.a=g;return!0};c.j=function(a){if(this.b)var b=a.querySelector('[data-gwd-group-def="'+this.b+'"]');else if(this.c)b=a.getElementById(this.c),b||("document.body"==this.c?b=a.body:(a=a.querySelector("gwd-pagedeck"))&&"function"==typeof a.getElementById&&(b=a.getElementById(this.c)));else return null;return k(this,b)};
c.l=function(a,b){if(!this.b)return null;for(a=b;a;){var d=a.getAttribute("data-gwd-group");if(d==this.b)break;a=d&&a!=b?null:a.parentElement}return a?k(this,a):null};c.f=function(){var a="";this.b?a=" "+this.b:this.c&&(a=this.c);for(var b=0;b<this.a.length;b++)a+=" "+this.a[b];return a};c.o=function(){return this.c};c.s=function(){return this.a};c.m=function(){return this.b};
var k=function(a,b){for(var d=0;b&&d<a.a.length;d++){for(var g=b.querySelector('[data-gwd-grp-id="'+a.a[d]+'"]'),e=g?g.parentElement:null;g&&e&&e!=b;)e.hasAttribute("data-gwd-group")?g=null:e=e.parentElement;b=g}return b};var l=["gwd","GwdId"],p=f;l[0]in p||"undefined"==typeof p.execScript||p.execScript("var "+l[0]);for(var q;l.length&&(q=l.shift());)l.length||void 0===h?p=p[q]&&p[q]!==Object.prototype[q]?p[q]:p[q]={}:p[q]=h;h.GROUP_REFERENCE_ATTR="data-gwd-group";h.prototype.equals=h.prototype.i;h.prototype.clear=h.prototype.clear;h.prototype.isEmpty=h.prototype.u;h.prototype.setFromElement=h.prototype.g;h.prototype.setFromString=h.prototype.h;h.prototype.getElement=h.prototype.j;
h.prototype.getElementInInstance=h.prototype.l;h.prototype.getString=h.prototype.f;h.prototype.getLeadingId=h.prototype.o;h.prototype.getPseudoIds=h.prototype.s;h.prototype.getGroupName=h.prototype.m;}).call(this);
